bugzilla-daemon at mindrot.org
2006-Jul-03 13:54 UTC
[Bug 1205] scp back-slash escaping of spaces ignored after username@hostname: tag
http://bugzilla.mindrot.org/show_bug.cgi?id=1205 Summary: scp back-slash escaping of spaces ignored after username at hostname: tag Product: Portable OpenSSH Version: 4.3p2 Platform: ix86 OS/Version: Linux Status: NEW Keywords: low-hanging-fruit Severity: normal Priority: P3 Component: scp AssignedTo: bitbucket at mindrot.org ReportedBy: dcescato at ee.ethz.ch Back-slash escaping of spaces works when accessing local files: [genie at homeland ~]$ echo "hello" > spa\ ce [genie at homeland ~]$ ls -l spa\ ce -rw-rw-r-- 1 genie genie 6 Jul 3 14:58 spa ce [genie at homeland ~]$ scp /home/genie/spa\ ce bugzilla at armageddon.ethz.ch:/home/bugzilla spa ce 100% 6 0.0KB/s 00:00 The file is actually on the remote machine: [bugzilla at armageddon ~]$ ls -l spa\ ce -rw-rw-r-- 1 bugzilla bugzilla 6 Jul 3 14:58 spa ce If I now try to copy the file from the remote machine, I get the following error: [genie at homeland ~]$ rm spa\ ce [genie at homeland ~]$ scp bugzilla at armageddon.ethz.ch:/home/bugzilla/spa\ ce . scp: /home/bugzilla/spa: No such file or directory scp: ce: No such file or directory Hence, back-slash escaping of spaces after a "username at hostname:" tag seems to be ignored. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Jul-04 07:23 UTC
[Bug 1205] scp back-slash escaping of spaces ignored after username@hostname: tag
http://bugzilla.mindrot.org/show_bug.cgi?id=1205 ------- Comment #1 from t8m at centrum.cz 2006-07-04 17:23 ------- I'd say that this is a feature rather than a bug. The path is again shell expanded on the remote machine. This will work: scp "<host>:<path>/spa\\ ce" . ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Jul-12 00:49 UTC
[Bug 1205] scp back-slash escaping of spaces ignored after username@hostname: tag
http://bugzilla.mindrot.org/show_bug.cgi?id=1205 djm at mindrot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #2 from djm at mindrot.org 2006-07-12 10:49 ------- Sorry - we can't fix this: it is a 20+ year old limitation of rcp that scp has inherited and changing the behaviour of scp would break many people's working scripts. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Reasonably Related Threads
- Worms Armageddon: cant open Worms Armageddon folder on fake ../drive_c/Team17/Worms Armageddon
- [Bug 1768] New: scp: wrong error message when destination directory ends with a slash and is missing
- armageddon vs. polling for shared resources, ajax, stale browsers
- Wine and DM Genie
- Armageddon