From: Wayne Davison Date: Mon, 16 May 2011 18:24:07 +0000 (-0700) Subject: Explicitly mention spaces in the "path" setting. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b9cc2d4c868df195878f22dd1c5e9f9d21451971 Explicitly mention spaces in the "path" setting. --- diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index 49d25226..35d269f8 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -156,6 +156,12 @@ For example, this would use the authorizing user's name in the path: 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