DO NOT REPLY [Bug 5939] rsync: delete of stat xattr failed for ... (in backup): Operation not permitted (1)
samba-bugs at samba.org
samba-bugs at samba.org
Tue Jul 14 20:59:17 MDT 2009
https://bugzilla.samba.org/show_bug.cgi?id=5939
wthrowe at mit.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wthrowe at mit.edu
------- Comment #2 from wthrowe at mit.edu 2009-07-14 21:59 CST -------
I also see this bug (using --fake-super), including in a nightly build last
week. I'm actually getting this error on all symlinks I tested (tried broken
and working to both a file and a directory, didn't try different owners). I
think this is because I'm using an ext3 file system, and it doesn't support
xattrs on symlinks.
I notice that in the code, usually when an xattr change is attempted, if it
fails on a symlink with EPERM, the failure is ignored, but that this check is
not performed for the "delete of stat xattr" change. Adding a check makes the
warnings disappear. I'm not sure if there is a reason for the absence of the
check, but it seems to cause errors even when there should not be any xattrs
set on the link (because the get_stat_xattr function claims there is an xattr
there when it can't read the xattrs).
Anyway, I've written a simple patch adding the check for EPERM on a symlink.
--
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