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

2004-03-27 Thread Wayne Davison
On Sat, Mar 27, 2004 at 02:13:50PM -0500, Andrew Pimlott wrote: > Cool! I assume it's something like > > rsync --link-dest /current /mydirtobackup server::backup/new > > ie, you don't put the module name in the link-dest. Correct. It works the same when the module is hosted chrooted or not

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

2004-03-27 Thread Andrew Pimlott
On Sat, Mar 27, 2004 at 01:54:29AM -0800, Wayne Davison wrote: > On Fri, Mar 26, 2004 at 09:02:42AM -0800, Wayne Davison wrote: > > 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). > > This

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

2004-03-27 Thread Wayne Davison
On Fri, Mar 26, 2004 at 09:02:42AM -0800, Wayne Davison wrote: > 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). This is now fixed in CVS. ..wayne.. -- To unsubscribe or change options: http:

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

2004-03-26 Thread Wayne Davison
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, thos

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

2004-03-25 Thread Andrew Pimlott
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. Thus, the only possiblitiy for a link-dest directory is under the target director