From e35df1aa10904a1a36dd1748b7059f1d6d4bcd2b Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Tue, 21 Jun 2011 10:48:17 +0200 Subject: [PATCH] Fix OSX acl regression test. --- regress/tests/acl-xattr-test | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/regress/tests/acl-xattr-test b/regress/tests/acl-xattr-test index c27e2fd2f1..d7ae46a82e 100755 --- a/regress/tests/acl-xattr-test +++ b/regress/tests/acl-xattr-test @@ -118,10 +118,11 @@ case `uname -s` in ) ;; Darwin) - chmod +a "user:$uid allow read execute" $d/acl-dir - chmod +a "user:root allow write execute" $d/acl-dir - chmod +a "user:nobody deny read write execute" $d/acl-dir - chmod +a "user:nobody deny read write execute" $d/bconsole + username=`id -un` + chmod +a "user:$username allow read,execute" $d/acl-dir + chmod +a "user:root allow write,execute" $d/acl-dir + chmod +a "user:nobody deny read,write,execute" $d/acl-dir + chmod +a "user:nobody deny read,write,execute" $d/bconsole chmod +a "group:nogroup allow execute" $d/bconsole cp ${cwd}/bin/bconsole $d/acl-dir cp ${cwd}/bin/bconsole $d/other -- 2.39.5