On Tue, 24 Jan 2006, Mike Branda wrote:
> Anybody ever use setfacl instead of/in conjunction with chmod?
>
> I'm not sure how I haven't managed to hear about that tool until now and
> it seems useful but nobody talks about it.
No, sorry. There are online man pages
(http://www.die.net/doc/linux/man/man1/setfacl.1.html is one), and they have
examples:
Granting an additional user read access
setfacl -m u:lisa:r file
Revoking write access from all groups and all named users (using the
effective rights mask)
setfacl -m m::rx file
Removing a named group entry from a file's ACL
setfacl -x g:staff file
Copying the ACL of one file to another
getfacl file1 | setfacl --set-file=- file2
Copying the access ACL into the Default ACL
getfacl --access dir | setfacl -d -M- dir
-- -eben ebQenW1@EtaRmpTabYayU.rIr.OcoPm home.tampabay.rr.com/hactarQ: What kind of modem did Jimi Hendrix use? A: A purple Hayes. ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:05:55 EDT