From: Brandon Casey Date: Mon, 15 Mar 2010 18:35:03 +0000 (-0500) Subject: t/t1304: set the ACL effective rights mask X-Git-Tag: v1.7.1-rc0~23^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2e85575a0216b5ad4b1209cea77e1a2769fbd0b7;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t1304-default-acl.sh b/t/t1304-default-acl.sh index 52246d739..85351aea2 100755 --- a/t/t1304-default-acl.sh +++ b/t/t1304-default-acl.sh @@ -33,6 +33,7 @@ dirs_to_set="./ .git/ .git/objects/ .git/objects/pack/" test_expect_success 'Setup test repo' ' setfacl -m d:u::rwx,d:g::---,d:o:---,d:m:rwx $dirs_to_set && + setfacl -m m:rwx $dirs_to_set && setfacl -m u:root:rwx $dirs_to_set && setfacl -m d:u:"$LOGNAME":rwx $dirs_to_set && setfacl -m d:u:root:rwx $dirs_to_set &&