summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c24138b)
raw | patch | inline | side by side (parent: c24138b)
author | Brandon Casey <drafnel@gmail.com> | |
Mon, 15 Mar 2010 17:14:33 +0000 (12:14 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Mar 2010 02:05:54 +0000 (19:05 -0700) |
Some platforms (Solaris) have a setfacl whose -d switch works differently
than the one on Linux. On Linux, it causes all operations to be applied
to the Default ACL. There is a notation for operating on the Default ACL:
[d[efault]:] [u[ser]:]uid [:perms]
so use it instead of the -d switch.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
than the one on Linux. On Linux, it causes all operations to be applied
to the Default ACL. There is a notation for operating on the Default ACL:
[d[efault]:] [u[ser]:]uid [:perms]
so use it instead of the -d switch.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1304-default-acl.sh | patch | blob | history |
diff --git a/t/t1304-default-acl.sh b/t/t1304-default-acl.sh
index cc30be4a655cad98eac233b5da9fc585ddb5d055..415a2dd3ceb0903b2bb4d4af0431629ed1757c21 100755 (executable)
--- a/t/t1304-default-acl.sh
+++ b/t/t1304-default-acl.sh
test_expect_success 'Setup test repo' '
setfacl -m u:root:rwx $dirs_to_set &&
- setfacl -d -m u:"$LOGNAME":rwx $dirs_to_set &&
- setfacl -d -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 &&
touch file.txt &&
git add file.txt &&