mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Test out the new acl text error msgs.
This commit is contained in:
@@ -322,6 +322,27 @@ $runas -u 12345 -g 54321 -- /bin/chacl -r u::---,g::---,o::--- root
|
||||
find root -print | xargs chacl -l
|
||||
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
echo ""
|
||||
echo "=== Test out error messages for ACL text parsing ==="
|
||||
|
||||
touch file1
|
||||
set -x
|
||||
chacl u file1
|
||||
chacl u: file1
|
||||
chacl u:rumpledumpleunknownuser file1
|
||||
chacl u:rumpledumpleunknownuser: file1
|
||||
chacl g:rumpledumpleunknowngrp file1
|
||||
chacl g:rumpledumpleunknowngrp: file1
|
||||
chacl o:user1:rwx file1
|
||||
chacl m:user1:rwx file1
|
||||
chacl a::rwx file1
|
||||
set +x
|
||||
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
# success, all done
|
||||
|
||||
Reference in New Issue
Block a user