summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/fs_abilities.py7
2 files changed, 10 insertions, 0 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index eedab6c..5c289df 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
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
understand inherited ACEs; fixes support for Windows 2000. (Andrew Ferguson)
diff --git a/rdiff-backup/rdiff_backup/fs_abilities.py b/rdiff-backup/rdiff_backup/fs_abilities.py
index 60f2cb5..a012a04 100644
--- a/rdiff-backup/rdiff_backup/fs_abilities.py
+++ b/rdiff-backup/rdiff_backup/fs_abilities.py
@@ -366,6 +366,13 @@ class FSAbilities:
log.Log("Extended attributes not supported by "
"filesystem at %s" % (rp.path,), 4)
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
def set_win_acls(self, dir_rp):