DO NOT REPLY [Bug 6027] Error when rsync encounters empty symlinks

samba-bugs at samba.org samba-bugs at samba.org
Thu Feb 5 02:30:48 GMT 2009


https://bugzilla.samba.org/show_bug.cgi?id=6027


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #5 from wayned at samba.org  2009-02-04 20:30 CST -------
The thing I dislike about both my patch and yours is that it stops the
receiving side from removing a symlink that shouldn't be there just because it
has a 0-length value.  Because of this, I moved the check to where it would
only affect the sending of the file list to the receiver.

I have checked in a fix to prevent a fatal error for a 0-length symlink.

As for you comment #3, I am missing what you are driving at.  If readlink()
doesn't work on a symlink, how can something read the link to follow it?


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list