]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
obsync: improve ACL handling again
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 3 May 2011 22:50:41 +0000 (15:50 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 3 May 2011 23:13:30 +0000 (16:13 -0700)
commitfdc679158da7706db19de61e1b7682002ab4d57c
tree21e7a67c2a23ded6970dfe9b9be174e7b068756a
parent0802cfdeb19c18a575a92157f3a8f075139f48c3
obsync: improve ACL handling again

LocalAcl: store ACLs in memory. They're very small, and the tempfile
stuff was just getting cumbersome.

LocalAcl.equal: do deep comparison of ACLs, not just seeing if the XML
is the same.

Strip owner when setting an ACL. We never want to try to set the owner.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/obsync/obsync.py
src/obsync/test-obsync.py