rsync fails to write write xattr user.rsync

Wayne Davison wayned at
Mon Jul 4 16:02:46 MDT 2011

On Wed, Jun 29, 2011 at 1:25 AM, Michael Hierweck
<team at>wrote:

> rsync: failed to write xattr user.rsync.%stat for "path/to/a/socket" (in
> backup): Operation not permitted (1)

The --fake-super option turns devices and special files into normal files
with an xattr attribute with the real file mode and device info.  What you
should check is that the destination file is indeed a file, not a device
(e.g. if it was copied by root w/o --fake-super, it might be an actual
socket, which can confuse --fake-super).  If it is a file, check that the
destination filesystem has extended attributes enabled.  If it is not a
file, remove it and let fake-super create the fake version.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list