Re: --copy-unsafe-links bug (with patch)

2000-10-09 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Dave Dykstra writes: >You are misunderstanding what the meaning of --copy-unsafe-links is. From >the man page: > This tells rsync to treat symbolic links that point > outside the source tree like ordinary files. Abso- > lute

Re: --copy-unsafe-links bug (with patch)

2000-10-09 Thread Dave Dykstra
On Thu, Oct 05, 2000 at 07:47:50PM +0200, Poul-Henning Kamp wrote: > > Hi, > > I found a bug in rsync 2.4.6 + rsync-246-v6-2907.diff.gz: > > The following tiny script demonstrates a bug in the --copy-unsafe-links > code: If the destination of the symbolic link doesn't exist on the > source

--copy-unsafe-links bug (with patch)

2000-10-05 Thread Poul-Henning Kamp
Hi, I found a bug in rsync 2.4.6 + rsync-246-v6-2907.diff.gz: The following tiny script demonstrates a bug in the --copy-unsafe-links code: If the destination of the symbolic link doesn't exist on the source system, it is not copied across to the destination system: #!/bin/sh