File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ If there are any issues, correct them now before moving on.
233
233
$ rm -rf app/cache/*
234
234
$ rm -rf app/logs/*
235
235
236
- $ APACHEUSER=` ps aux | grep -E ' [a]pache|[h]ttpd|[_]www|[w]ww-data' | grep -v root | head -1 | cut -d\ -f1`
236
+ $ APACHEUSER=` ps aux | grep -E ' [a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx ' | grep -v root | head -1 | cut -d\ -f1`
237
237
$ sudo chmod +a " $APACHEUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
238
238
$ sudo chmod +a " ` whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
239
239
@@ -248,7 +248,7 @@ If there are any issues, correct them now before moving on.
248
248
249
249
.. code-block :: bash
250
250
251
- $ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data' | grep -v root | head -1 | cut -d\ -f1`
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
252
$ sudo setfacl -Rn -m u:"$APACHEUSER":rwX -m u: `whoami `:rwX app/cache app/logs
253
253
$ sudo setfacl -dRn -m u:"$APACHEUSER":rwX -m u: `whoami `:rwX app/cache app/logs
254
254
You can’t perform that action at this time.
0 commit comments