--link-dest mostly useless on a server without chroot

Wayne Davison wayned at samba.org
Fri Mar 26 17:02:42 GMT 2004


On Fri, Mar 26, 2004 at 12:09:08AM -0500, Andrew Pimlott wrote:
> When using the rsync server without chroot, the --link-dest and
> --compare-dest options are almost useless.  This is because
> sanitize_paths is called on the link-dest directory, stripping out
> leading dots and slashes.

Yes, those options should really replace "/" with the root dir of the
module when chroot isn't specified (rather than just stripping the slash
off).

..wayne..


More information about the rsync mailing list