bugzilla-daemon at mindrot.org
2003-Jun-03  15:33 UTC
[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 at mindrot.org
        ReportedBy: lukeross at 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 at 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 at
1.2.3.4'
$
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Jun-03  16:10 UTC
[Bug 586] Syntax error on local to local copy (escaping required)
http://bugzilla.mindrot.org/show_bug.cgi?id=586
mouring at eviladmin.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX
------- Additional Comments From mouring at 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.
Seemingly Similar Threads
- [Bug 248] scp doesn't support ssh2 protocol
- [Bug 485] scp doesn't preserve symbolic links
- [Bug 794] scp2 copy from machine A (openssh 3.5p1) to B (ssh 2.4.0) causes transferred file to be empty
- [PATCH] ssh-copy-id should do chmod go-w
- [Bug 88] scp for OpenSSH v3.0.2p1 fails to commercial SSH v3.1.0 server (new -t option to SSH's scp)