# HG changeset patch # User Oleksandr Gavenko # Date 1464769383 -10800 # Node ID dbe9a69aa2f6fe6889c543b5a1330e64f62d5fb2 # Parent a39d953734da25ff7da7e1bd6feb775d26d8ddc2 ``setfacl`` with ``-x`` key can't remove specific permission. diff -r a39d953734da -r dbe9a69aa2f6 acl.rst --- a/acl.rst Wed Jun 01 11:16:29 2016 +0300 +++ b/acl.rst Wed Jun 01 11:23:03 2016 +0300 @@ -22,6 +22,10 @@ $ sudo setfacl -x u:test ~/tmp/dir +.. NOTE:: ``setfacl`` with ``-x`` key can't remove specific permission, you + should remove corresponding user or group and set new or explicitly + specify desired permission for user or group with ``-m`` option. + Remove all ACL permissions:: $ sudo setfacl -b ~/tmp/dir