ACL: Difference between revisions

From DWIKI
Tony (talk | contribs)
Tag: wikieditor
Tony (talk | contribs)
mNo edit summary
Tag: wikieditor
Line 12: Line 12:


==setfacl==
==setfacl==
===Set group writable===
 
=HOWTO=
==Set group writable==
  setfacl -R -d -m g::rwx .
  setfacl -R -d -m g::rwx .
==Make logs readable for user==
setfacl -R -m u:zabbix:r /var/log/nginx/


=FAQ=
=FAQ=

Revision as of 14:10, 30 January 2026

Posix Access Control Lists

Docs

Commands

getfacl

chacl

setfacl

HOWTO

Set group writable

setfacl -R -d -m g::rwx .

Make logs readable for user

setfacl -R -m u:zabbix:r /var/log/nginx/

FAQ

setfacl: Option -x: Invalid argument near character 16"

You only need like

setfacl -x group:somegroup