Skip to content

Commit 4480eff

Browse files
author
Michele Carino
committed
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 bdc6c3f commit 4480eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/installation.rst

Lines changed: 2 additions & 2 deletions
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)