* Possible cygwin scp bug
@ 2022-07-16 13:19 Knight, Dave
2022-07-16 13:35 ` Takashi Yano
0 siblings, 1 reply; 2+ messages in thread
From: Knight, Dave @ 2022-07-16 13:19 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 982 bytes --]
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".
[-- Attachment #2: scp.log --]
[-- Type: text/x-log, Size: 1947 bytes --]
Script started on 2022-07-16 05:37:23-07:00 [TERM="xterm" TTY="/dev/pty0" COLUMNS="80" LINES="24"]
^[[?2004h^[]0;~\a
^[[32mdmk@WinDev2206Eval ^[[33m~^[[0m
$ which scp
^[[?2004l\r/cygdrive/c/Windows/System32/OpenSSH/scp
^[[?2004h^[]0;~\a
^[[32mdmk@WinDev2206Eval ^[[33m~^[[0m
$ ls
^[[?2004l\rcygcheck.out scp.log tst_ctlm tst_rep tst_tag%bar
dailyPrayers% test_DOSfmt tst_info tst_rep% tst_tag%foo
foo testing tst_info%xxx tst_rep%foo
foo11138 testing.standalone tst_misc tst_rep%foo%
foo3162 tst_bug tst_ncoAll tst_tag
^[[?2004h^[]0;~\a
^[[32mdmk@WinDev2206Eval ^[[33m~^[[0m
$ ls > /tmp/foo
^[[?2004l\r^[[?2004h^[]0;~\a
^[[32mdmk@WinDev2206Eval ^[[33m~^[[0m
$ ls -l /tmp/foo
^[[?2004l\r-rw-r--r-- 1 dmk None 228 Jul 16 05:37 /tmp/foo
^[[?2004h^[]0;~\a
^[[32mdmk@WinDev2206Eval ^[[33m~^[[0m
$ scp /tmp/foo bcserver:foobar
^[[?2004l\r^[[6n^[[6n^[[m^[[?25h/tmp/foo: No such file or directory
^[[?2004h^[]0;~\a
^[[32mdmk@WinDev2206Eval ^[[33m~^[[0m
$ pwd
^[[?2004l\r/home/dmk
^[[?2004h^[]0;~\a
^[[32mdmk@WinDev2206Eval ^[[33m~^[[0m
$ scp ../../tmp/foo bcserver:foobar
^[[?2004l\r^[[6n^[[m^[[?25hfoo 0% 0 0.0KB/s --:-- ETA\rfoo 100% 228 7.2KB/s 00:00
^[[?2004h^[]0;~\a
^[[32mdmk@WinDev2206Eval ^[[33m~^[[0m
$ cd /tmp
^[[?2004l\r^[[?2004h^[]0;/tmp\a
^[[32mdmk@WinDev2206Eval ^[[33m/tmp^[[0m
$ scp foo bcserver:foobar
^[[?2004l\r^[[6n^[[m^[[?25hfoo 0% 0 0.0KB/s --:-- ETA\rfoo 100% 228 14.2KB/s 00:00
^[[?2004h^[]0;/tmp\a
^[[32mdmk@WinDev2206Eval ^[[33m/tmp^[[0m
$ ssh bcserver\b^[[K\b^[[Ker ls -l foobar
^[[?2004l\r^[[6n^[[m^[[?25h-rw-r--r-- 1 dmk dmk 228 Jul 16 08:39 foobar
^[[?2004h^[]0;/tmp\a
^[[32mdmk@WinDev2206Eval ^[[33m/tmp^[[0m
$ ^[[?2004l
exit
Script done on 2022-07-16 05:40:24-07:00 [COMMAND_EXIT_CODE="0"]
[-- Attachment #3: cygcheck.out --]
[-- Type: application/octet-stream, Size: 17500 bytes --]
Cygwin Configuration Diagnostics
Current System Time: Sat Jul 16 13:34:36 2022
Windows 11 Server Enterprise (Evaluation inst.) Ver 10.0 Build 22000
Path: C:\cygwin64\opt\BCase\BriefCase-3.6.a
C:\cygwin64\usr\local\bin
C:\cygwin64\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Windows\System32\OpenSSH
C:\Program Files\dotnet
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn
C:\Program Files\Microsoft SQL Server\150\Tools\Binn
C:\Users\dmk\AppData\Local\Microsoft\WindowsApps
.
Output from C:\cygwin64\bin\id.exe
UID: 197609(dmk) GID: 197121(None)
197121(None) 545(Users)
559(Performance Log Users) 4(INTERACTIVE)
66049(CONSOLE LOGON) 11(Authenticated Users)
15(This Organization) 113(Local account)
4095(CurrentSession) 66048(LOCAL)
262154(NTLM Authentication) 401408(Medium Mandatory Level)
SysDir: C:\Windows\system32
WinDir: C:\Windows
USER = 'dmk'
PWD = '/home/dmk'
HOME = '/home/dmk'
USERDOMAIN = 'WINDEV2206EVAL'
OS = 'Windows_NT'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '6'
PSModulePath = 'C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules'
CommonProgramW6432 = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
BC_DTP_DEV = 'DEVpkg'
TZ = 'America/Los_Angeles'
BC_OS = 'cygwin'
HOSTNAME = 'WinDev2206Eval'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/cygdrive/c/Users/dmk/Desktop'
BC_SERVER_CPU = 'amd64'
USERNAME = 'dmk'
LOGONSERVER = '\\WINDEV2206EVAL'
PROCESSOR_ARCHITECTURE = 'AMD64'
BC_SERVER_OS = 'FreeBSD'
LOCALAPPDATA = 'C:\Users\dmk\AppData\Local'
COMPUTERNAME = 'WINDEV2206EVAL'
!:: = '::\'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\dmk'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
SYSTEMROOT = 'C:\Windows'
BC_PATH = '/BriefCase'
BC_CPU = 'x86_64'
USERDOMAIN_ROAMINGPROFILE = 'WINDEV2206EVAL'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel'
BC_REV = '3.6'
OneDriveConsumer = 'C:\Users\dmk\OneDrive'
TMP = '/tmp'
LC_CTYPE = 'en_US.UTF-8'
BC_DTP_TEST = 'TSTpkg'
TERM_PROGRAM = 'mintty'
TERM_PROGRAM_VERSION = '3.6.1'
SPOOLER = 'lpr'
BC_DTP_PROMO = 'yes'
OneDrive = 'C:\Users\dmk\OneDrive'
PROCESSOR_REVISION = '3a09'
PROFILEREAD = 'true'
NUMBER_OF_PROCESSORS = '4'
BCSERVER = 'bcserver'
ProgramW6432 = 'C:\Program Files'
TROFF_BIN = '/usr/bin'
BC_DTP_PROD = 'PRDpkg'
COMSPEC = 'C:\Windows\system32\cmd.exe'
APPDATA = 'C:\Users\dmk\AppData\Roaming'
SHELL = '/bin/bash'
TERM = 'xterm'
WINDIR = 'C:\Windows'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
MINTTY_SHORTCUT = '/cygdrive/c/Users/Public/Desktop/Cygwin64 Terminal.lnk'
PROGRAMFILES = 'C:\Program Files'
MANPATH = '/usr/share/man:/BriefCase/man'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/tmp'
DriverData = 'C:\Windows\System32\Drivers\DriverData'
SESSIONNAME = 'Console'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
HOMEDRIVE = 'C:'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
HOMEPATH = '\Users\dmk'
ORIGINAL_PATH = '/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program Files/dotnet:/cygdrive/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/150/Tools/Binn:/cygdrive/c/Users/dmk/AppData/Local/Microsoft/WindowsApps'
EXECIGNORE = '*.dll'
_ = '/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Installations
(default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
(default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
(default) = 'C:\cygwin64'
obcaseinsensitive set to 1
Cygwin installations found in the registry:
System: Key: e022582115c10879 Path: C:\cygwin64
User: Key: e022582115c10879 Path: C:\cygwin64
c: hd NTFS 127469Mb 42% CP CS UN PA FC QU Windows
C:\cygwin64 / system binary,auto
C:\cygwin64\bin /usr/bin system binary,auto
C:\cygwin64\lib /usr/lib system binary,auto
cygdrive prefix /cygdrive user binary,posix=0,auto
Found: C:\cygwin64\bin\awk
-> C:\cygwin64\bin\gawk.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\Windows\system32\bash.exe
Warning: C:\cygwin64\bin\bash.exe hides C:\Windows\system32\bash.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\Windows\system32\certutil.exe
Not Found: clinfo
Found: C:\Windows\system32\comp.exe
Found: C:\Windows\system32\convert.exe
Found: C:\cygwin64\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\Windows\system32\curl.exe
Found: C:\cygwin64\bin\expand.exe
Found: C:\Windows\system32\expand.exe
Warning: C:\cygwin64\bin\expand.exe hides C:\Windows\system32\expand.exe
Found: C:\cygwin64\bin\find.exe
Found: C:\Windows\system32\find.exe
Warning: C:\cygwin64\bin\find.exe hides C:\Windows\system32\find.exe
Found: C:\Windows\system32\ftp.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin64\bin\grep.exe
Found: C:\cygwin64\bin\hostname.exe
Found: C:\Windows\system32\hostname.exe
Warning: C:\cygwin64\bin\hostname.exe hides C:\Windows\system32\hostname.exe
Found: C:\cygwin64\bin\kill.exe
Found: C:\Windows\system32\klist.exe
Not Found: ld
Found: C:\cygwin64\bin\ls.exe
Found: C:\cygwin64\opt\BCase\BriefCase-3.6.a\make
Found: C:\cygwin64\bin\mv.exe
Found: C:\Windows\system32\nslookup.exe
Not Found: patch
Not Found: perl
Found: C:\Windows\system32\replace.exe
Found: C:\cygwin64\bin\rm.exe
Found: C:\cygwin64\bin\sed.exe
Found: C:\cygwin64\bin\sh.exe
Found: C:\Windows\system32\shutdown.exe
Found: C:\cygwin64\bin\sort.exe
Found: C:\Windows\system32\sort.exe
Warning: C:\cygwin64\bin\sort.exe hides C:\Windows\system32\sort.exe
Found: C:\Windows\System32\OpenSSH\ssh.exe
Found: C:\cygwin64\bin\tar.exe
Found: C:\Windows\system32\tar.exe
Warning: C:\cygwin64\bin\tar.exe hides C:\Windows\system32\tar.exe
Found: C:\cygwin64\bin\test.exe
Found: C:\cygwin64\bin\timeout.exe
Found: C:\Windows\system32\timeout.exe
Warning: C:\cygwin64\bin\timeout.exe hides C:\Windows\system32\timeout.exe
Found: C:\cygwin64\bin\vi.exe
Found: C:\cygwin64\bin\vim.exe
Found: C:\cygwin64\bin\whoami.exe
Found: C:\Windows\system32\whoami.exe
Warning: C:\cygwin64\bin\whoami.exe hides C:\Windows\system32\whoami.exe
39k 2016/09/19 C:\cygwin64\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
"cygargp-0.dll" v0.0 ts=2016-09-19 02:13
19k 2018/12/20 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
"cygattr-1.dll" v0.0 ts=2018-12-20 09:48
254k 2020/03/31 C:\cygwin64\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
"cygblkid-1.dll" v0.0 ts=2020-03-28 06:22
66k 2019/07/21 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
"cygbz2-1.dll" v0.0 ts=2019-07-22 00:05
2491k 2022/07/06 C:\cygwin64\bin\cygcrypto-1.1.dll - os=4.0 img=0.0 sys=5.2
"cygcrypto-1.1.dll" v0.0 ts=2022-07-06 20:17
353k 2020/03/31 C:\cygwin64\bin\cygfdisk-1.dll - os=4.0 img=0.0 sys=5.2
"cygfdisk-1.dll" v0.0 ts=2020-03-28 06:23
27k 2015/11/17 C:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
"cygffi-6.dll" v0.0 ts=2015-11-17 22:14
56k 2019/07/28 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
"cygformw-10.dll" v0.0 ts=2019-07-28 17:33
74k 2022/05/02 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
"cyggcc_s-seh-1.dll" v0.0 ts=2022-05-02 11:29
49k 2019/07/10 C:\cygwin64\bin\cyggdbm-6.dll - os=4.0 img=0.0 sys=5.2
"cyggdbm-6.dll" v0.0 ts=2019-07-10 14:53
582k 2021/08/21 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
"cyggmp-10.dll" v0.0 ts=2021-08-21 19:11
36k 2021/08/31 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
"cyghistory7.dll" v0.0 ts=2021-08-31 07:54
1063k 2022/05/23 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
"cygiconv-2.dll" v0.0 ts=2022-05-23 12:22
42k 2021/07/29 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
"cygintl-8.dll" v0.0 ts=2021-07-29 03:40
73k 2017/06/19 C:\cygwin64\bin\cyglz4-1.dll - os=4.0 img=0.0 sys=5.2
"cyglz4-1.dll" v0.0 ts=2017-06-19 15:40
147k 2022/03/06 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
"cyglzma-5.dll" v0.0 ts=2022-03-06 18:26
157k 2022/01/12 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
"cygmagic-1.dll" v0.0 ts=2022-01-12 09:43
212k 2022/03/19 C:\cygwin64\bin\cygman-2-10-2.dll - os=4.0 img=0.0 sys=5.2
"cygman-2-10-2.dll" v0.0 ts=2022-03-19 15:41
24k 2022/03/19 C:\cygwin64\bin\cygmandb-2-10-2.dll - os=4.0 img=0.0 sys=5.2
"cygmandb-2-10-2.dll" v0.0 ts=2022-03-19 15:41
28k 2019/07/28 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
"cygmenuw-10.dll" v0.0 ts=2019-07-28 17:32
2663k 2021/08/21 C:\cygwin64\bin\cygmpfr-6.dll - os=4.0 img=0.0 sys=5.2
"cygmpfr-6.dll" v0.0 ts=2021-08-21 19:01
301k 2019/07/28 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
"cygncursesw-10.dll" v0.0 ts=2019-07-28 17:30
1020k 2020/03/27 C:\cygwin64\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
"cygp11-kit-0.dll" v0.0 ts=2020-03-27 22:30
14k 2019/07/28 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
"cygpanelw-10.dll" v0.0 ts=2019-07-28 17:32
497k 2021/06/20 C:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
"cygpcre-1.dll" v0.0 ts=2021-06-20 12:53
627k 2022/04/30 C:\cygwin64\bin\cygpcre2-8-0.dll - os=4.0 img=0.0 sys=5.2
"cygpcre2-8-0.dll" v0.0 ts=2022-04-30 13:08
42k 2020/12/27 C:\cygwin64\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
"cygpipeline-1.dll" v0.0 ts=2020-12-27 14:15
42k 2020/12/31 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
"cygpopt-0.dll" v0.0 ts=2020-12-31 12:16
254k 2021/08/31 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
"cygreadline7.dll" v0.0 ts=2021-08-31 07:54
11k 2015/07/17 C:\cygwin64\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
"cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:35
156k 2020/03/31 C:\cygwin64\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
"cygsmartcols-1.dll" v0.0 ts=2020-03-28 06:22
299k 2019/07/28 C:\cygwin64\bin\cygsodium-23.dll - os=4.0 img=0.0 sys=5.2
"cygsodium-23.dll" v0.0 ts=2019-07-28 17:13
512k 2022/07/06 C:\cygwin64\bin\cygssl-1.1.dll - os=4.0 img=0.0 sys=5.2
"cygssl-1.1.dll" v0.0 ts=2022-07-06 20:17
1870k 2022/05/02 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
"cygstdc++-6.dll" v0.0 ts=2022-05-02 11:43
68k 2019/07/29 C:\cygwin64\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
"cygtasn1-6.dll" v0.0 ts=2019-07-29 03:12
57k 2019/07/28 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
"cygticw-10.dll" v0.0 ts=2019-07-28 17:31
27k 2020/03/31 C:\cygwin64\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
"cyguuid-1.dll" v0.0 ts=2020-03-28 06:22
37k 2020/09/06 C:\cygwin64\bin\cygxxhash-0.dll - os=4.0 img=0.0 sys=5.2
"cygxxhash-0.dll" v0.0 ts=2020-09-07 00:04
88k 2022/04/10 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
"cygz.dll" v0.0 ts=2022-04-10 20:26
624k 2022/01/22 C:\cygwin64\bin\cygzstd-1.dll - os=4.0 img=0.0 sys=5.2
"cygzstd-1.dll" v0.0 ts=2022-01-22 17:21
3486k 2022/05/13 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
"cygwin1.dll" v0.0 ts=2022-05-13 13:27
Cygwin DLL version info:
DLL version: 3.3.5
DLL epoch: 19
DLL old termios: 5
DLL malloc env: 28
Cygwin conv: 181
API major: 0
API minor: 341
Shared data: 5
DLL identifier: cygwin1
Mount registry: 3
Cygwin registry name: Cygwin
Installations name: Installations
Cygdrive default prefix:
Build date:
Shared id: cygwin1S5
Can't find the cygrunsrv utility, skipping services check.
Cygwin Package Information
Last downloaded files to: C:\Users\User\Downloads
Last downloaded files from: http://mirror.team-cymru.com/cygwin/
Package Version Status
_autorebase 001091-1 OK
alternatives 1.3.30c-10 OK
base-cygwin 3.8-1 OK
base-files 4.3-3 OK
bash 4.4.12-3 OK
bzip2 1.0.8-1 OK
ca-certificates 2021.2.52-1 OK
coreutils 8.32-1 OK
crypto-policies 20190218-1 OK
cygutils 1.4.17-1 OK
cygwin 3.3.5-1 OK
dash 0.5.11.5-1 OK
diffutils 3.8-1 OK
editrights 1.03-1 OK
file 5.41-2 OK
findutils 4.9.0-1 OK
gawk 5.1.1-1 OK
getent 2.18.90-4 OK
grep 3.7-2 OK
groff 1.22.4-1 OK
gzip 1.12-1 OK
hostname 3.13-1 OK
info 6.8-2 OK
ipc-utils 1.0-2 OK
less 590-1 OK
libargp 20110921-3 OK
libattr1 2.4.48-2 OK
libblkid1 2.33.1-2 OK
libbz2_1 1.0.8-1 OK
libfdisk1 2.33.1-2 OK
libffi6 3.2.1-2 OK
libgcc1 11.3.0-1 OK
libgdbm6 1.18.1-1 OK
libgmp10 6.2.1-2 OK
libiconv2 1.17-1 OK
libintl8 0.21-1 OK
liblz4_1 1.7.5-1 OK
liblzma5 5.2.5-1 OK
libmpfr6 4.1.0-2 OK
libncursesw10 6.1-1.20190727 OK
libp11-kit0 0.23.20-1 OK
libpcre1 8.45-1 OK
libpcre2_8_0 10.40-1 OK
libpipeline1 1.5.3-1 OK
libpopt-common 1.18-1 OK
libpopt0 1.18-1 OK
libreadline7 8.1-2 OK
libsigsegv2 2.10-2 OK
libsmartcols1 2.33.1-2 OK
libsodium-common 1.0.18-1 OK
libsodium23 1.0.18-1 OK
libssl1.1 1.1.1q-1 OK
libstdc++6 11.3.0-1 OK
libtasn1_6 4.14-1 OK
libuuid1 2.33.1-2 OK
libxxhash0 0.8.0-1 OK
libzstd1 1.5.2-1 OK
login 1.13-1 OK
man-db 2.10.2-1 OK
mintty 3.6.1-1 OK
ncurses 6.1-1.20190727 OK
openssl 1.1.1q-1 OK
p11-kit 0.23.20-1 OK
p11-kit-trust 0.23.20-1 OK
rcs 5.10.1-1 OK
rebase 4.5.0-1 OK
rsync 3.2.3+20200903+git9f9240b-4 OK
run 1.3.4-2 OK
sed 4.8-1 OK
tar 1.34-1 OK
terminfo 6.1-1.20190727 OK
terminfo-extra 6.1-1.20190727 OK
time 1.9-1 OK
tzcode 2022a-1 OK
tzdata 2022a-1 OK
util-linux 2.33.1-2 OK
vim 8.2.4372-1 OK
vim-common 8.2.4372-1 OK
vim-minimal 8.2.4372-1 OK
which 2.20-2 OK
xxd 8.2.4372-1 OK
xz 5.2.5-1 OK
zlib0 1.2.12-1 OK
zstd 1.5.2-1 OK
Use -h to see help about each section
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Possible cygwin scp bug
2022-07-16 13:19 Possible cygwin scp bug Knight, Dave
@ 2022-07-16 13:35 ` Takashi Yano
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Yano @ 2022-07-16 13:35 UTC (permalink / raw)
To: cygwin
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.yano@nifty.ne.jp>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-16 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-16 13:19 Possible cygwin scp bug Knight, Dave
2022-07-16 13:35 ` Takashi Yano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).