summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/eas_acls.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/rdiff_backup/eas_acls.py')
-rw-r--r--rdiff-backup/rdiff_backup/eas_acls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py
index ed9df1b..71878db 100644
--- a/rdiff-backup/rdiff_backup/eas_acls.py
+++ b/rdiff-backup/rdiff_backup/eas_acls.py
@@ -58,7 +58,8 @@ class ExtendedAttributes:
"""Set the extended attributes from an rpath"""
try: attr_list = rp.conn.xattr.listxattr(rp.path)
except IOError, exc:
- if exc[0] == errno.EOPNOTSUPP: return # if not sup, consider empty
+ if exc[0] == errno.EOPNOTSUPP or exc[0] == errno.EPERM:
+ return # if not supported, consider empty
if exc[0] == errno.EACCES:
log.Log("Warning: listattr(%s): %s" % (rp.path, exc), 3)
return