Skip to content

Commit 5e2e8ef

Browse files
umpirskyweaverryan
authored andcommitted
Alternative -n option
1 parent fefd57a commit 5e2e8ef

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

book/installation.rst

+5-3
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,11 @@ If there are any issues, correct them now before moving on.
248248

249249
.. code-block:: bash
250250
251-
$ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
252-
$ sudo setfacl -R -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
253-
$ sudo setfacl -dR -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
251+
$ HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
252+
$ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
253+
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
254+
255+
If this doesn't work, try adding ``-n`` option.
254256

255257
**3. Without using ACL**
256258

0 commit comments

Comments
 (0)