Skip to content

Commit a2d1ce5

Browse files
Michele Carinoweaverryan
Michele Carino
authored andcommitted
Changes ACL permission setting hints
The default behavior of setfacl is to recalculate the ACL mask entry, unless a mask entry was explicitly given.
1 parent 9f7d742 commit a2d1ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/installation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ If there are any issues, correct them now before moving on.
247247
.. code-block:: bash
248248
249249
$ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data' | grep -v root | head -1 | cut -d\ -f1`
250-
$ sudo setfacl -R -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
251-
$ sudo setfacl -dR -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
250+
$ sudo setfacl -Rn -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
251+
$ sudo setfacl -dRn -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
252252

253253
**3. Without using ACL**
254254

0 commit comments

Comments
 (0)