Explicitly mention spaces in the "path" setting.
authorWayne Davison <wayned@samba.org>
Mon, 16 May 2011 18:24:07 +0000 (11:24 -0700)
committerWayne Davison <wayned@samba.org>
Mon, 16 May 2011 18:34:15 +0000 (11:34 -0700)
rsyncd.conf.yo

index 49d2522..35d269f 100644 (file)
@@ -156,6 +156,12 @@ For example, this would use the authorizing user's name in the path:
 
 verb(    path = /home/%RSYNC_USER_NAME% )
 
 
 verb(    path = /home/%RSYNC_USER_NAME% )
 
+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
 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