ACL: Difference between revisions

From DWIKI
m (New page: =Commands= ==getfacl== ==setfacl==)
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Posix Access Control Lists
=Docs=
*http://linuxhelp.blogspot.com/2005/11/get-exact-control-over-your-files-and.html
*[http://serverfault.com/questions/455111/rsynced-files-not-getting-proper-acl Using rsync with acl]
=Commands=
=Commands=
==getfacl==
==getfacl==


 
==chacl==


==setfacl==
==setfacl==
===Set group writable===
setfacl -R -d -m g::rwx .
=FAQ=
==setfacl: Option -x: Invalid argument near character 16"==
You only need like
setfacl -x group:somegroup

Latest revision as of 14:49, 7 May 2024

Posix Access Control Lists

Docs

Commands

getfacl

chacl

setfacl

Set group writable

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

FAQ

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

You only need like

setfacl -x group:somegroup