Chroot is not a secure function. If not implemented very carefully it
can seriously undermine security rather than enhancing it.
If your concern is security maybe you shouldn't be using rsyncd at all.
Rsync over ssh works very well and has far superior authentication. It
can also be restricted
https://bugzilla.samba.org/show_bug.cgi?id=13445
--- Comment #6 from Ben RUBSON ---
Created attachment 14231
--> https://bugzilla.samba.org/attachment.cgi?id=14231=edit
Patch using FLAG_PERHAPS_DIR
Here is a working patch using the method detailed in comment #2.
--
You are receiving this
Please, help me understand if 'use chroot' option in daemon config is
secure enough.
Rsync manual has following lines:
As an additional safety feature, you can specify a dot-dir in the
module's
"path" to indicate the point where the chroot should occur. This
allows rsync
to run