Commit a60ede2c authored by owsla's avatar owsla

Properly handle EINVAL "Invalid argument" errors when setting extended

attributes.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@959 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent d7520d68
New in v1.2.3 (????/??/??)
---------------------------
Properly handle EINVAL "Invalid argument" errors when setting extended
attributes. Thanks to Kevin Fenzi for reporting the issue. (Andrew Ferguson)
Add warning message if pyxattr is below version 0.2.2. (Andrew Ferguson)
Add "Stale NFS file handle" (ESTALE) to the list of recoverable errors. Thanks
......
......@@ -116,7 +116,7 @@ class ExtendedAttributes:
# Mac and Linux attributes have different namespaces, so
# fail gracefully if can't call setxattr
if exc[0] in (errno.EOPNOTSUPP, errno.EPERM, errno.EACCES,
errno.ENOENT):
errno.ENOENT, errno.EINVAL):
log.Log("Warning: unable to write xattr %s to %s"
% (name, repr(rp.path)), 6)
continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment