1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-03 10:17:40 +00:00

Ignore IOErrors from xattr module

This commit is contained in:
Jonas Borgström 2011-08-05 15:53:01 +02:00
parent a4f61d1328
commit 59e33ab29f

View file

@ -202,7 +202,7 @@ def restore_attrs(self, path, item, symlink=False):
for k, v in xattrs.items():
try:
xa.set(k, v)
except KeyError:
except (IOError, KeyError):
pass
if have_lchmod:
os.lchmod(path, item['mode'])