From fb7e092ce9685b917e35625aaebde3c514dfad24 Mon Sep 17 00:00:00 2001 From: owsla Date: Thu, 2 Oct 2008 00:29:02 +0000 Subject: 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 --- rdiff-backup/CHANGELOG | 3 +++ rdiff-backup/rdiff_backup/fs_abilities.py | 7 +++++++ 2 files changed, 10 insertions(+) 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): -- cgit v1.2.1