mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
tidy up a bit
This commit is contained in:
@@ -21,27 +21,27 @@ file1 [u::r-x,g::---,o::---]
|
||||
Expect to PASS
|
||||
Test was executed
|
||||
Expect to FAIL
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
|
||||
--- Test group permissions ---
|
||||
file1 [u::---,g::r-x,o::---]
|
||||
Expect to FAIL - acl1 is owner
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
Expect to PASS - acl2 matches group
|
||||
Test was executed
|
||||
Expect to PASS - acl2 matches sup group
|
||||
Test was executed
|
||||
Expect to FAIL - acl3 is not in group
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
|
||||
--- Test other permissions ---
|
||||
file1 [u::---,g::---,o::r-x]
|
||||
Expect to FAIL - acl1 is owner
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
Expect to FAIL - acl2 is in group
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
Expect to FAIL - acl2 is in sup. group
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
Expect to PASS - acl3 is not owner or in group
|
||||
Test was executed
|
||||
|
||||
@@ -56,7 +56,7 @@ Expect to PASS - USER ACE matches user
|
||||
file1 [u::---,g::---,o::---,u:id2:r-x,m::rwx]
|
||||
Test was executed
|
||||
Expect to FAIL - USER ACE does not match user
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
|
||||
--- Test adding a GROUP ACE ---
|
||||
Expect to FAIL as no MASK provided
|
||||
@@ -69,20 +69,20 @@ Test was executed
|
||||
Expect to PASS - GROUP ACE matches sup group
|
||||
Test was executed
|
||||
Expect to FAIL - GROUP ACE does not match group
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
|
||||
--- Test MASK ---
|
||||
file1 [u::---,g::---,o::---,g:id2:r-x,m::-wx]
|
||||
file1 [u::---,g::---,o::---,g:id2:r-x,m::-w-]
|
||||
Expect to FAIL as MASK prohibits execution
|
||||
./file1: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
Expect to FAIL as MASK prohibits execution
|
||||
./file1: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
Expect to PASS as MASK allows execution
|
||||
Test was executed
|
||||
|
||||
--- Test ACE priority ---
|
||||
Expect to FAIL as should match on owner
|
||||
sh: ./file1: Permission denied
|
||||
./file1: Permission denied
|
||||
Expect to PASS as should match on user
|
||||
Test was executed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user