summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/eas_acls.py
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2008-09-26 23:13:18 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2008-09-26 23:13:18 +0000
commit6bf433fed5a4d54b678315adbfd0439707bdd730 (patch)
tree975c38c8cc77c7505a7cfeb40b47d9474686b8f6 /rdiff-backup/rdiff_backup/eas_acls.py
parent4b511ebaafe5ce126fcfef2e58cd1932f8149f66 (diff)
downloadrdiff-backup-6bf433fed5a4d54b678315adbfd0439707bdd730.tar.gz
On Mac OS X, read the com.apple.FinderInfo extended attribute since it is the
only storage location for the 'busy' (Z) Finder attribute. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@938 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/eas_acls.py')
-rw-r--r--rdiff-backup/rdiff_backup/eas_acls.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py
index 856b700..af01c5e 100644
--- a/rdiff-backup/rdiff_backup/eas_acls.py
+++ b/rdiff-backup/rdiff_backup/eas_acls.py
@@ -68,9 +68,8 @@ class ExtendedAttributes:
if attr.startswith('system.'):
# Do not preserve system extended attributes
continue
- if not rp.isdir() and attr == 'com.apple.FinderInfo' or attr == 'com.apple.ResourceFork':
- # FinderInfo and Resource Fork handled elsewhere, except
- # for directories
+ if not rp.isdir() and attr == 'com.apple.ResourceFork':
+ # Resource Fork handled elsewhere, except for directories
continue
try: self.attr_dict[attr] = rp.conn.xattr.getxattr(rp.path, attr)
except IOError, exc: