Test out the new acl text error msgs.

This commit is contained in:
Tim Shimmin
2001-08-24 05:51:02 +00:00
parent bf83af9f61
commit 7baa9d88d5
2 changed files with 54 additions and 0 deletions
+21
View File
@@ -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