@matheusbsbs / matheus-bagliano / commits / 2e85575a02
Fork 0

t/t1304: set the ACL effective rights mask

Some implementations of setfacl do not recalculate the effective rights mask when the ACL is modified. So, set the effective rights mask explicitly to ensure that the ACL's that are set on the directories will have effect. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brandon Casey committed Mar 15, 2010 at 13:35 UTC 2e85575a0216b5ad4b1209cea77e1a2769fbd0b7
1 file changed +1
t/t1304-default-acl.sh
+1
@@ -33,6 +33,7 @@ dirs_to_set="./ .git/ .git/objects/ .git/objects/pack/"
33
34 test_expect_success 'Setup test repo' '
35 setfacl -m d:u::rwx,d:g::---,d:o:---,d:m:rwx $dirs_to_set &&
36 + setfacl -m m:rwx $dirs_to_set &&
37 setfacl -m u:root:rwx $dirs_to_set &&
38 setfacl -m d:u:"$LOGNAME":rwx $dirs_to_set &&
39 setfacl -m d:u:root:rwx $dirs_to_set &&