ACL: Difference between revisions
From DWIKI
mNo edit summary Tag: wikieditor |
Tag: wikieditor |
||
| Line 17: | Line 17: | ||
setfacl -R -d -m g::rwx . | setfacl -R -d -m g::rwx . | ||
==Make logs readable for user== | ==Make logs readable for user== | ||
setfacl -R -m u:zabbix: | setfacl -R -m u:zabbix:rx /var/log/nginx/ | ||
=FAQ= | =FAQ= | ||
Revision as of 15:29, 30 January 2026
Posix Access Control Lists
Docs
- http://linuxhelp.blogspot.com/2005/11/get-exact-control-over-your-files-and.html
- Using rsync with acl
Commands
getfacl
chacl
setfacl
HOWTO
Set group writable
setfacl -R -d -m g::rwx .
Make logs readable for user
setfacl -R -m u:zabbix:rx /var/log/nginx/
FAQ
setfacl: Option -x: Invalid argument near character 16"
You only need like
setfacl -x group:somegroup
