From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by sourceware.org (Postfix) with ESMTPS id 2D5193858422 for ; Sat, 16 Jul 2022 13:35:45 +0000 (GMT) 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 Received: from HP-Z230 (ak044095.dynamic.ppp.asahi-net.or.jp [119.150.44.95]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 26GDZ5PD012162 for ; Sat, 16 Jul 2022 22:35:05 +0900 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 To: cygwin@cygwin.com Subject: Re: Possible cygwin scp bug Message-Id: <20220716223505.3c7ded42af1335a14e8d4f19@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2022 13:35:48 -0000 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 file path is an absolute path, e.g. > /tmp/foo. Scp 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 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