summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2008-11-12 19:02:02 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2008-11-12 19:02:02 +0000
commit6c992d8dfa30248857464729058c643c2f5c48b3 (patch)
tree49b5c76fcff1a8520cbef3a93d937b88ff01729b /rdiff-backup/rdiff_backup
parent02512182c3e6eccb0b2388150b9691c4166e63d7 (diff)
downloadrdiff-backup-6c992d8dfa30248857464729058c643c2f5c48b3.tar.gz
Properly handle EINVAL "Invalid argument" errors when setting extended
attributes. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@959 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup')
-rw-r--r--rdiff-backup/rdiff_backup/eas_acls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py
index e13efd1..54ed2d2 100644
--- a/rdiff-backup/rdiff_backup/eas_acls.py
+++ b/rdiff-backup/rdiff_backup/eas_acls.py
@@ -116,7 +116,7 @@ class ExtendedAttributes:
# Mac and Linux attributes have different namespaces, so
# fail gracefully if can't call setxattr
if exc[0] in (errno.EOPNOTSUPP, errno.EPERM, errno.EACCES,
- errno.ENOENT):
+ errno.ENOENT, errno.EINVAL):
log.Log("Warning: unable to write xattr %s to %s"
% (name, repr(rp.path)), 6)
continue