/
githubmirror
/
acl
Обзор
Документация
Войти
/
githubmirror
/
acl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v2.3.2
test/root/getfacl.test
19 строк
446 B
Andreas Gruenbacher
Add additional group names for root-specific tests
07 мар 2016, 22:24
07 мар 2016, 22:24
01b1305
Код
Авторство
О чём код?
Make sure that getfacl always adds at least one space between the permissions in an acl entry and the effective permissions comment. Cry immediately if we are not running as root. $ require_root $ umask 022 $ mkdir d $ setfacl -dm group:loooooooooooooooooooooooonggroup:rwx d $ getfacl -cde d > user::rwx > group::r-x #effective:r-x > group:loooooooooooooooooooooooonggroup:rwx #effective:rwx > mask::rwx > other::r-x > $ rm -r d