scp doesn't report correct filenames with spaces in verbose mode
Bug #89945 reported by
psl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
Binary package hint: openssh-client
Ubuntu 6.06.1, i386
scp doesn't report crrect action when handling files with spaces in filename. An example:
$ touch test\ file
$ touch "file test"
$ mkdir test_dir
$ scp -v file\ test test\ file test_dir
Executing: cp file test test_dir
Executing: cp test file test_dir
Compare with cp command that reports filenames correctly:
$ cp -v file\ test test\ file test_dir
`file test' -> `test_dir/file test'
`test file' -> `test_dir/test file'
$ ssh -V
OpenSSH_4.2p1 Debian-7ubuntu3.1, OpenSSL 0.9.8a 11 Oct 2005
In the past, scp was unable to handle filenames with spaces; it is fixed now, I comply about reporting in -v mode only.
To post a comment you must log in.
I'm attaching the patch of this bug fur revision.