DO NOT REPLY [Bug 5474] extended attributes only copy if ACLs are copied on a Mac

samba-bugs at samba-bugs at
Sat May 24 16:47:51 GMT 2008

wayned at changed:

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

------- Comment #1 from wayned at  2008-05-24 11:47 CST -------
A stock rsync works fine, but after applying the fileflags patch, the xattrs
test in the test suite starts to fail.  The reason for this is that the
get_xattrs() function has started to reject device and special files (due to a
buggy errno return from xattr functions), but the st_mode value in the stat
struct was not being set prior to the call in flist.c.

The fix is to add this line:

               = file->mode;

prior to the call of get_xattrs() in flist.c.  I'll make that fix in the git

Configure bugmail:
------- 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