Skip to content

Commit

Permalink
minor #3566 Changes ACL permission setting hints (MicheleOnGit)
Browse files Browse the repository at this point in the history
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #3566).

Discussion
----------

Changes ACL permission setting hints

The default behavior of setfacl is to recalculate the ACL mask entry, unless a mask entry was explicitly given.

Commits
-------

4480eff Changes ACL permission setting hints
  • Loading branch information
weaverryan committed Mar 10, 2014
2 parents 9f7d742 + a2d1ce5 commit 97ef2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ If there are any issues, correct them now before moving on.
.. code-block:: bash
$ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data' | grep -v root | head -1 | cut -d\ -f1`
$ sudo setfacl -R -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
$ sudo setfacl -dR -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
$ sudo setfacl -Rn -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs
$ sudo setfacl -dRn -m u:"$APACHEUSER":rwX -m u:`whoami`:rwX app/cache app/logs

**3. Without using ACL**

Expand Down

0 comments on commit 97ef2f7

Please sign in to comment.