diff options
Diffstat (limited to 'rdiff-backup/rdiff_backup/eas_acls.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/eas_acls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py index 5077b6a..6b1e128 100644 --- a/rdiff-backup/rdiff_backup/eas_acls.py +++ b/rdiff-backup/rdiff_backup/eas_acls.py @@ -111,8 +111,8 @@ class ExtendedAttributes: except IOError, exc: # Mac and Linux attributes have different namespaces, so # fail gracefully if can't call setxattr - if exc[0] == errno.EOPNOTSUPP or exc[0] == errno.EACCES \ - or exc[0] == errno.ENOENT: + if exc[0] in (errno.EOPNOTSUPP, errno.EPERM, errno.EACCES, + errno.ENOENT): log.Log("Warning: unable to write xattr %s to %s" % (name, repr(rp.path)), 6) continue |