[Bug 3298] New: --rsh option incorrectly interprets quotes

bugzilla-daemon at dp3.samba.org bugzilla-daemon at dp3.samba.org
Fri Dec 2 18:33:29 GMT 2005


           Summary: --rsh option incorrectly interprets quotes
           Product: rsync
           Version: 2.6.6
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: devin at freeshell.org
         QAContact: rsync-qa at samba.org

Using rsync -e 'ssh -i "/some directory with spaces/identity"' causes rsync to
try to execute ssh like:

execve("/usr/bin/ssh", ["ssh", "-i", "\"/some directory with
spaces/identity\"", ...])

Which of course fails, because the quotes were to delimit the argument, not
part of the filename.  This makes it more difficult to use options with spaces
and is inconsistant with the --rsync-path option, which uses sh to interpret
the command.

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.

More information about the rsync mailing list