Hi,

On Thu, Dec 16, 2004 at 10:27:20PM +0100, Paul Slootman wrote:
> On Thu 16 Dec 2004, Wayne Davison wrote:
> > 
> > As for the fix, one could argue that "ignore nonreadable" has a bug in
> > it when dealing with symlinks -- if readlink() worked, the symlink was
> > readable, so there is no need to call access() on it.  The appended
> > patch changes this so that rsync doesn't ever use access() on a symlink.

Surely good fix, thanks.

> Just to be certain - readlink() is only called if --copy-links is NOT
> specified? In that case, I agree.

Yes, if copy_links is set, then stat() is called instead.


-- 
ldv

Attachment: pgpVoXvOUI5lz.pgp
Description: PGP signature

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to