Code

t/t1304: avoid -d option to setfacl
[git.git] / t / t1304-default-acl.sh
index cc30be4a655cad98eac233b5da9fc585ddb5d055..415a2dd3ceb0903b2bb4d4af0431629ed1757c21 100755 (executable)
@@ -46,8 +46,8 @@ dirs_to_set="./ .git/ .git/objects/ .git/objects/pack/"
 
 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 &&