Mailing List Archive

[Bug 586] Syntax error on local to local copy (escaping required)
http://bugzilla.mindrot.org/show_bug.cgi?id=586

Summary: Syntax error on local to local copy (escaping required)
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: scp
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: lukeross@sys3175.co.uk


When trying to upload a file, I inadvertently missed off the trailing ':' to
make it remote copy, so scp attempted to local copy, using "exec cp". However
scp didn't reescape the filenames:

$ scp /home/mp3/Kosheen\ -\ Catch\ \(original\).mp3 lukeross@1.2.3.4
sh: -c: line 1: syntax error near unexpected token `('
sh: -c: line 1: `exec cp /home/mp3/Kosheen - Catch (original).mp3 lukeross@1.2.3.4'
$



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 586] Syntax error on local to local copy (escaping required) [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=586

mouring@eviladmin.org changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX



------- Additional Comments From mouring@eviladmin.org 2003-06-04 02:10 -------
This is the same behavior as rcp. To change this may/will break existing
scripts.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.