From 7dc173e204385896bd121eb4c163d3fbf78dacae Mon Sep 17 00:00:00 2001 From: owsla Date: Thu, 25 Jan 2007 03:10:44 +0000 Subject: Allow for preservation of FinderInfo for folders and fix typo in Time.py git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@777 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/eas_acls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rdiff-backup/rdiff_backup/eas_acls.py') diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py index b392d32..37694b5 100644 --- a/rdiff-backup/rdiff_backup/eas_acls.py +++ b/rdiff-backup/rdiff_backup/eas_acls.py @@ -67,8 +67,9 @@ class ExtendedAttributes: if attr.startswith('system.'): # Do not preserve system extended attributes continue - if attr == 'com.apple.FinderInfo' or attr == 'com.apple.ResourceFork': - # FinderInfo and Resource Fork handled elsewhere + if not rp.isdir() and attr == 'com.apple.FinderInfo' or attr == 'com.apple.ResourceFork': + # FinderInfo and Resource Fork handled elsewhere, except + # for directories continue try: self.attr_dict[attr] = rp.conn.xattr.getxattr(rp.path, attr) except IOError, exc: -- cgit v1.2.1