delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/07/16/09:36:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2D5193858422
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 26GDZ5PD012162
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1657978505;
bh=lTXJBgGgE0FyfLpmfPoxTRXVaMlUVq5LI7Bb/nN14nk=;
h=Date:From:To:Subject:In-Reply-To:References:From;
b=GgRVKZP5fdngqUErBgd0jh2Etl0KV9oq6DUCLfWCQ5xf8f5IIdI7X0+JvmeRKMOy7
fYl4j4Rmfn8Ro/f3mWXnV83mYn3ATUyKFUL/vTmVqRYKvWKXsAe30LMv1kt0gwLmxT
qgDdpqrnGsFkafxy6ZFROW8VRzkoKAMQJIKcaOZp0yd2+SyTrz9fSNgOSeCA/ieVz5
Xa59YkSzCBNq2wbpJ82iqkR4oBegR3juRddQxsOd2rv8a553k8GMk8ceMaKF1lrM4l
uCK8hBRGqz4vMJhRhtp5bJeLNcagBH+R5Lm5LHwVVbD0t85PRe1py2orA+3QdiSpn+
5xi/pEWWVHgmg==
X-Nifty-SrcIP: [119.150.44.95]
Date: Sat, 16 Jul 2022 22:35:05 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: Possible cygwin scp bug
Message-Id: <20220716223505.3c7ded42af1335a14e8d4f19@nifty.ne.jp>
In-Reply-To: <CAOmkcGvZOe3kKRTaSKbP6FH8Dn=SuVUrfP1q9gUkp6P_dvaWUQ@mail.gmail.com>
References: <CAOmkcGvZOe3kKRTaSKbP6FH8Dn=SuVUrfP1q9gUkp6P_dvaWUQ AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Sat, 16 Jul 2022 09:19:35 -0400
"Knight, Dave" wrote:
> I am running cygwin virtualbox running a WinDev2206Eval "appliance" (.ova
> from microsoft).  Everything else I've tested so far in cygwin runs as
> expected except scp when the <source> file path is an absolute path, e.g.
> /tmp/foo.  Scp <source> references to that file using a relative path, e.g.
> ../../tmp/foo, work fine.  For example:
> 
> $ ls > /tmp/foo   # create a /tmp/file
> $ ls -l /tmp/foo
> $ scp /tmp/foo bcserver:foobar  # fails with /tmp/foo "file not found"
> $ pwd    # (CWD is /Users/dmk)
> $ scp ../../tmp/foo bcserver:foobar   # this works
> $ cd /tmp
> $ scp foo bcserver:foobar   # this also works
> 
> Please see the attached (script) log file scp.log for the actual results
> using these commands.
> See also the attached cygcheck.out file.
> 
> Note that:
> 
>   1 -  absolute paths work OK for an scp <destination> pathname
> 
>   2 - the "scp /tmp/foo bcserver:foobar" command works OK in win11's
> PowerShell
> 
>   3 - the scp target host (bcserver) is a FreeBSD 12 OS running in a
> TrueNAS "jail".

You do not seem to install cygwin scp (openssh package), do you?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019