from man rsync section
USING RSYNC-DAEMON FEATURES VIA A REMOTE-SHELL CONNECTION. We can use
rsync -e ssh user@server::module to let the remote server start a single use rsync daemon which read config from
use chroot = yes is turns on by default. However, if I do it this way, it raise:
rsync: chroot /path/to/module failed: Operation not permitted (1) which makes sense since the normal user does not have permission to run chroot.
I wonder, is it necessary to turn on
user chroot = yes in this case for security reason? If yes, how?