Bug 8136 - space in module path (rsyncd.conf)
Summary: space in module path (rsyncd.conf)
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.7
Hardware: x86 Mac OS X
: P5 regression (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2011-05-16 15:33 UTC by Liviu Ionescu
Modified: 2011-05-16 18:34 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Liviu Ionescu 2011-05-16 15:33:36 UTC
the module path I'm trying to use is /Volumes/Time Machine, i.e. with a space in the middle.

I tried the following:
- to escape the space with \, like Time\ Machine
- to quote the path with "..." or with '...'
but none seem to work, I constantly receive

@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5)

test on modules with names without spaces are fine.

the 3.0.7 is from Mac Ports, the Mac OS default is older.


Comment 1 Wayne Davison 2011-05-16 15:40:48 UTC
You shouldn't be using any quoting at all, as none is needed.
Comment 2 Liviu Ionescu 2011-05-16 16:42:18 UTC
great, I confirm it even with rsync v2.6.7 (Mac OS X 10.6)

perhaps you should explicitly mention this in the manual pages.

thank you,

Comment 3 Wayne Davison 2011-05-16 18:34:44 UTC
There is this mention early on:

Leading and trailing whitespace in a parameter value is discarded. Internal whitespace within a parameter value is retained verbatim.

... but it is indeed not mentioned specifically in the "path" section.  I've rectified that.