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

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


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


wayned at samba.org changed:

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




------- Comment #1 from wayned at samba.org  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:

                        sx.st.st_mode = file->mode;

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


-- 
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