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 /home/rsyncd.conf

Normally the 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?

  • It goes on to say since the daemon is started up fresh by the remote user, you may not be able to use features such as chroot. – meuh Mar 26 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.