The Samba-Bugzilla – Bug 8136
space in module path (rsyncd.conf)
Last modified: 2011-05-16 18:34:44 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.
You shouldn't be using any quoting at all, as none is needed.
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.
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.