Commit 72ed1ad2 authored by owsla's avatar owsla

Add a warning message if extended attributes support is broken by the

filesystem


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@943 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 8d7a4278
New in v1.2.2 (????/??/??) New in v1.2.2 (????/??/??)
--------------------------- ---------------------------
Add a warning message if extended attributes support is broken by the
filesystem (such as with older EncFS versions). (Andrew Ferguson)
Improve handling of Windows ACLs by switching to API functions which Improve handling of Windows ACLs by switching to API functions which
understand inherited ACEs; fixes support for Windows 2000. (Andrew Ferguson) understand inherited ACEs; fixes support for Windows 2000. (Andrew Ferguson)
......
...@@ -366,6 +366,13 @@ class FSAbilities: ...@@ -366,6 +366,13 @@ class FSAbilities:
log.Log("Extended attributes not supported by " log.Log("Extended attributes not supported by "
"filesystem at %s" % (rp.path,), 4) "filesystem at %s" % (rp.path,), 4)
self.eas = 0 self.eas = 0
except AssertionError:
log.Log("Extended attributes support is broken on filesystem at "
"%s. Please upgrade the filesystem driver, contact the "
"developers, or use the --no-eas option to disable "
"extended attributes support and suppress this message."
% (rp.path,), 1)
self.eas = 0
else: self.eas = 1 else: self.eas = 1
def set_win_acls(self, dir_rp): def set_win_acls(self, dir_rp):
......
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