diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2008-10-02 00:29:02 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2008-10-02 00:29:02 +0000 |
commit | fb7e092ce9685b917e35625aaebde3c514dfad24 (patch) | |
tree | 335daff933a0ba021e6b68a64a27085ed18e1384 | |
parent | cd38e626106e63f549cec4d18b6ad6130a0e1d52 (diff) | |
download | rdiff-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
-rw-r--r-- | rdiff-backup/CHANGELOG | 3 | ||||
-rw-r--r-- | rdiff-backup/rdiff_backup/fs_abilities.py | 7 |
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): |