diff options
-rw-r--r-- | rdiff-backup/CHANGELOG | 2 | ||||
-rw-r--r-- | rdiff-backup/rdiff_backup/eas_acls.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index 3b534e4..2fe6ef6 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -1,6 +1,8 @@ New in v1.1.13 (????/??/??) --------------------------- +Warn if can't write extended attribute. (Andrew Ferguson) + Gracefully handle situations where rdiff-backup tries to set the sticky bit on non-directory files on systems that don't support that action. Thanks to Jim Nasby for the bug report. (Andrew Ferguson) diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py index 0b37898..2ead1a1 100644 --- a/rdiff-backup/rdiff_backup/eas_acls.py +++ b/rdiff-backup/rdiff_backup/eas_acls.py @@ -108,6 +108,8 @@ class ExtendedAttributes: # 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: + log.Log("Warning: unable to write xattr %s to %s" + % (name, rp.path), 3) continue else: raise |