diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2007-08-09 13:28:21 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2007-08-09 13:28:21 +0000 |
commit | 4061a5c848f528ce390631c8cb88b750624ef399 (patch) | |
tree | 547a5060c19780bf1f2d41164b7c54650cb4f258 /rdiff-backup/rdiff_backup/eas_acls.py | |
parent | 21f6acc8fd95078e8b09df1061e3797efab06782 (diff) | |
download | rdiff-backup-4061a5c848f528ce390631c8cb88b750624ef399.tar.gz |
Warn if can't write extended attribute.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@839 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/eas_acls.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/eas_acls.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |