https://bugzilla.samba.org/show_bug.cgi?id=2106
Summary: Spaces in remote filename
Product: rsync
Version: 2.6.2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: derrick@cco.caltech.edu
QAContact: rsync-qa@samba.org
According to the FAQ:
"It is slightly trickier in rsync because rsync sends a command line
to the remote system to launch the peer copy of rsync. The command
line is interpreted by the remote shell and thus the spaces need
to arrive on the remote system escaped so that the shell doesn't
split such filenames into multiple arguments."
I would argue that the Principle of Least Surprise dictates that rsync should
handle any quoting needed
by the remote system itself rather than make the user do it. If that is not
feasible because of unknown
quoting requirements on the remote system then perhaps the protocol should be
enhanced so that the
command line that is passed to the shell is very simple, like "rsync
--server-enhanced" and all the
"command-line arguments" are actually passed as input to that command
as part of the protocol.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.