Setfacl

From Useful Things
Revision as of 11:52, 21 September 2014 by Milosivanovic (talk | contribs) (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------...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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