acl.rst
changeset 1979 a39d953734da
parent 1959 669ef988764d
child 1980 dbe9a69aa2f6
--- a/acl.rst	Mon May 30 19:10:39 2016 +0300
+++ b/acl.rst	Wed Jun 01 11:16:29 2016 +0300
@@ -37,7 +37,7 @@
 
 Add default ACL to directory to make ACL permission inheritance::
 
-  $ sudo setfacl -m -d u:nobody:rwx /srv/www
+  $ sudo setfacl -d -m u:nobody:rwx /srv/www
   $ sudo setfacl -m u:nobody:rwx /srv/www
 
 or by single command::
@@ -46,7 +46,7 @@
 
 To apply permission recursively add ``-R`` option::
 
-  $ sudo setfacl -R -m -d u:nobody:rwx /srv/www
+  $ sudo setfacl -R -d -m u:nobody:rwx /srv/www
   $ sudo setfacl -R -m u:nobody:rwx /srv/www
 
 .. NOTE:: default ACL is set only on directories and is applied only to