tags 531639 lenny
fixed 531639 3.0.5-1
thanks

On Wed 03 Jun 2009, Arthur de Jong wrote:
> 
> I ran into this when reorganising some directories and putting
> compatibility symlinks in place. The end result that the whole directory
> went missing.
> 
> I think the best way to explain is a demonstration. We set up simple
> source and destination directories:

Thanks for that, makes it a lot simpler to understand the problem :)

The option --safe-links was basically invented for this.
With that option, rsync will show:

sending incremental file list
./
ignoring unsafe symlink "/tmp/rsync/dst/foo" -> "/tmp/rsync/src/bar"
bar/
bar/some_file
deleting foo/some_file
deleting foo/

However, the symlink won't be copied either then.

> Note that this only seems to happen with --delete-delay (at least not
> with --delete-after and --delete-during). Also note that this does not
> occur with the version from sid (3.0.5-1).

Hmm, I don't see anything in the changelog that refers to this.
It could be that some other fix caused this to go away as well :-)
I'll forward this bug report to upstream, hopefully a patch could be
made so that the fix for this could be backported. Also hopefully this
fix qualifies to be added to stable...


Thanks,
Paul



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to