/
githubmirror
/
acl
Обзор
Документация
Войти
/
githubmirror
/
acl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/root/getfacl.run
19 строк
446 B
Andreas Gruenbacher
Use .run as the filename extension for "run" test scripts
19 июн 2026, 18:13
19 июн 2026, 18:13
f55ec6b
Код
Авторство
О чём код?
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