summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-05-23 13:28:42 +0200
committerLars Wirzenius <liw@liw.fi>2012-05-23 13:28:42 +0200
commitdcc42984fcf413641cdb57981e725091f1a72dbe (patch)
tree189228ddb79019f9888e5a5433a42b75a04614c4
parentc68dacf7b48953c82bb16ee807ee41a61e6c3499 (diff)
downloadobnam-dcc42984fcf413641cdb57981e725091f1a72dbe.tar.gz
Fix backup to change a file if any xattr has changed
-rw-r--r--obnamlib/plugins/backup_plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/obnamlib/plugins/backup_plugin.py b/obnamlib/plugins/backup_plugin.py
index 5e78ea20..62d33f8b 100644
--- a/obnamlib/plugins/backup_plugin.py
+++ b/obnamlib/plugins/backup_plugin.py
@@ -419,7 +419,8 @@ class BackupPlugin(obnamlib.ObnamPlugin):
current.st_nlink != old.st_nlink or
current.st_size != old.st_size or
current.st_uid != old.st_uid or
- current.st_gid != old.st_gid)
+ current.st_gid != old.st_gid or
+ current.xattr != old.xattr)
def backup_parents(self, root):
'''Back up parents of root, non-recursively.'''