by single command
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 20 May 2016 11:02:32 +0300
changeset 1959 669ef988764d
parent 1958 154fce7a0648
child 1961 4389c77690f6
by single command
acl.rst
--- a/acl.rst	Fri May 20 10:57:56 2016 +0300
+++ b/acl.rst	Fri May 20 11:02:32 2016 +0300
@@ -40,6 +40,10 @@
   $ sudo setfacl -m -d u:nobody:rwx /srv/www
   $ sudo setfacl -m u:nobody:rwx /srv/www
 
+or by single command::
+
+  $ sudo setfacl -m u:nobody:rwx,d:u:nobody:rwx /srv/www
+
 To apply permission recursively add ``-R`` option::
 
   $ sudo setfacl -R -m -d u:nobody:rwx /srv/www