mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-03 18:27:01 +00:00
Ignore IOErrors from xattr module
This commit is contained in:
parent
a4f61d1328
commit
59e33ab29f
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue