ACL: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with " == Using ACL to make actually usefule group permissions == Sadly the built in UNIX way of doing permissions, with it's notions of users, groups, and "others" is in practice...")
 
Line 1: Line 1:


== Using ACL to make actually usefule group permissions ==
== Using ACL to make an actually useable shared folder ==


Sadly the built in UNIX way of doing permissions, with it's notions of users, groups, and "others" is in practice quite difficult to use to make "shared folders". [http://www.linuxcommand.org/man_pages/setfacl1.html FACL] (for file access control lists) is an extension to these mechanisms that gives more flexibility.
Sadly the built in UNIX way of doing permissions, with it's notions of users, groups, and "others" is in practice quite difficult to use to make "shared folders". [http://www.linuxcommand.org/man_pages/setfacl1.html FACL] (for file access control lists) is an extension to these mechanisms that gives more flexibility.

Revision as of 12:16, 16 March 2017

Using ACL to make an actually useable shared folder

Sadly the built in UNIX way of doing permissions, with it's notions of users, groups, and "others" is in practice quite difficult to use to make "shared folders". FACL (for file access control lists) is an extension to these mechanisms that gives more flexibility.

So, the command to Allow anyone in the users group to write files to path/to/some/folder

 setfacl -Rm g:users:rwX /path/to/some/folder/
 setfacl -d -Rm g:users:rwX /path/to/some/folder/