Difference between revisions of "Setfacl"

From Useful Things
Jump to: navigation, search
(Created page with "= Common arguments = <code>-b</code> remove all ACL entries = What is that weird plus sign in ls -l output? = It means the file has ACLs associated with it. <pre> -rw------...")
 
(No difference)

Latest revision as of 11:52, 21 September 2014

Common arguments

-b remove all ACL entries

What is that weird plus sign in ls -l output?

It means the file has ACLs associated with it.

-rw-------+ 1 root  root   8569 Sep 21 01:43 file.txt

To remove them all:

setfacl -b file.txt

Now it's gone.

-rw------- 1 root  root   8569 Sep 21 01:43 file.txt