You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
344 B
15 lines
344 B
12 months ago
|
#!/bin/sh
|
||
|
# Author: Dan Trainor <dan.trainor@gmail.com>
|
||
|
# Athmane Madjoudj <athmanem@gmail.com>
|
||
|
|
||
|
t_Log "Running $0 - Check that we can get and set acl"
|
||
|
|
||
|
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 $?
|
||
|
|
||
|
/bin/rm -f /tmp/acl_test_file
|