--link-dest not working with rsync daemon?

Wayne Davison wayned at samba.org
Mon Jan 26 22:35:50 GMT 2004

On Mon, Jan 26, 2004 at 04:14:14PM -0500, Alberto Accomazzi wrote:
> I am puzzled as to why I can't get the option --link-dest to work 
> properly.  When I use this option when both source and destinations are 
> on a local filesystem the hard-linking of the target against the 
> link-dest directory does work, but when the source is a remote directory 
> (via ssh or rsync server) hard links are not created.

This is something that is fixed in the CVS version.  You can work around
the problem in 2.6.0 by not specifying (or implying) the -o (--owner)
option (when running as non-root).  So, change your -a option into the
options -rlptgD, and it should work fine.


More information about the rsync mailing list