Fix up 057 to test the prior bug in acl_get_fd, acl_get_file.

This commit is contained in:
Tim Shimmin
2001-05-29 07:08:24 +00:00
parent 2cb584ef2f
commit 4a846cb27a
7 changed files with 544 additions and 7 deletions
+7 -1
View File
@@ -42,6 +42,7 @@ owner=tes@sherman.melbourne.sgi.com
# get standard environment, filters and checks
. ./common.rc
. ./common.filter
. ./common.attr
seq=`basename $0`
echo "QA output created by $seq"
@@ -102,6 +103,7 @@ rm -f $seq.full
_need_to_be_root
[ -x $acl_get ] || _notrun "$acl_get command not found"
[ -x /bin/chacl ] || _notrun "chacl command not found"
# get dir
cd $TEST_DIR
@@ -115,7 +117,11 @@ touch file1
chmod 752 file1
_get_file file1
# ensure that full blown acls' get/set work, not just minimal ones
_acl_setup_ids
chacl u::rwx,g::rw-,o::---,u:$acl1:r-x,g:$acl1:r--,m::rwx file1 2>&1
chacl -l file1 | _acl_filter_id
_get_file file1 | _acl_filter_id
# success, all done
status=0