summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2008-10-02 00:29:02 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2008-10-02 00:29:02 +0000
commitfb7e092ce9685b917e35625aaebde3c514dfad24 (patch)
tree335daff933a0ba021e6b68a64a27085ed18e1384 /rdiff-backup/rdiff_backup
parentcd38e626106e63f549cec4d18b6ad6130a0e1d52 (diff)
downloadrdiff-backup-fb7e092ce9685b917e35625aaebde3c514dfad24.tar.gz
Add a warning message if extended attributes support is broken by the
filesystem git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@943 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup')
-rw-r--r--rdiff-backup/rdiff_backup/fs_abilities.py7
1 files changed, 7 insertions, 0 deletions
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):