https://bugzilla.samba.org/show_bug.cgi?id=3298

           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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to