| 1 |
#!/bin/bash -e |
| 2 |
|
| 3 |
cd $PATH_MNTDIR |
| 4 |
|
| 5 |
touch testfile |
| 6 |
setfacl -m u:root:r testfile |
| 7 |
getfacl testfile |
| 8 |
setfacl -x u:root testfile |
| 9 |
getfacl testfile |
| 10 |
|
| 11 |
mkdir testdir |
| 12 |
setfacl -d -m u:root:r testdir |
| 13 |
getfacl testdir |
| 14 |
#setfacl -d -x u:root testfile |
| 15 |
#getfacl testdir |
| 16 |
|
| 17 |
exit 0 |