]> arthur.barton.de Git - bup.git/commit
Don't touch correct target xattrs; remove inappropriate target xattrs.
authorRob Browning <rlb@defaultvalue.org>
Sun, 27 Feb 2011 22:15:24 +0000 (16:15 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 27 Feb 2011 22:15:24 +0000 (16:15 -0600)
commitd0af12b1a4023f8295840e64b6ee0d5848d576ba
tree7f4e6d89f32fd966319c7b674b66fa9b4d806beb
parentbd26ba0f0b208e096a7c3068f8c62f846ad83824
Don't touch correct target xattrs; remove inappropriate target xattrs.

When applying xattr metadata, make sure to remove any target xattrs
that aren't in the metadata record, but don't touch target xattrs that
already match the metadata record.  Add corresponding tests.

Throw an ApplyError() if xattr set() or remove() return EPERM from
within _apply_linux_xattr_rec().

Remove lib/bup/t/testfs and lib/bup/t/testfs.img in the clean target.
Makefile
lib/bup/metadata.py
lib/bup/t/tmetadata.py