summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-05-16 11:24:07 -0700
committerWayne Davison <wayned@samba.org>2011-06-24 15:17:56 -0700
commitc6bed2d9eee2dda657ed2e5d2200565cf92264bd (patch)
tree4b6bb39802c1616fa28fc52fc1d7c8b8842e783d
parentecae885a5194cf2c23fda2968845bded2802b84d (diff)
downloadrsync-c6bed2d9eee2dda657ed2e5d2200565cf92264bd.tar.gz
Explicitly mention spaces in the "path" setting.
-rw-r--r--rsyncd.conf.yo6
1 files changed, 6 insertions, 0 deletions
diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo
index 9e1926a2..0f5215ca 100644
--- a/rsyncd.conf.yo
+++ b/rsyncd.conf.yo
@@ -127,6 +127,12 @@ dit(bf(path)) This parameter specifies the directory in the daemon's
filesystem to make available in this module. You must specify this parameter
for each module in tt(rsyncd.conf).
+It is fine if the path includes internal spaces -- they will be retained
+verbatim (which means that you shouldn't try to escape them). If your final
+directory has a trailing space (and this is somehow not something you wish to
+fix), append a trailing slash to the path to avoid losing the trailing
+whitespace.
+
dit(bf(use chroot)) If "use chroot" is true, the rsync daemon will chroot
to the "path" before starting the file transfer with the client. This has
the advantage of extra protection against possible implementation security