#!/bin/sh # Author: Dan Trainor # Athmane Madjoudj echo "Running $0 - Check that we can get and set acl" source library/sh_lib.sh check=0 touch /tmp/acl_test_file setfacl -m user:nobody:r-- /tmp/acl_test_file getfacl /tmp/acl_test_file |grep -q 'user:nobody:r--' # t_CheckExitStatus $? check=$(eq_is_success ${check} 0) /bin/rm -f /tmp/acl_test_file check_test_status ${check} "$0" exit ${check}