From b9cc2d4c868df195878f22dd1c5e9f9d21451971 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 16 May 2011 11:24:07 -0700 Subject: [PATCH] Explicitly mention spaces in the "path" setting. --- rsyncd.conf.yo | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.34.1