From 4480effbf9eb858ba2bb27e220fb76baa650097a Mon Sep 17 00:00:00 2001 From: Michele Carino Date: Tue, 11 Feb 2014 15:39:59 +0100 Subject: [PATCH] Changes ACL permission setting hints The default behavior of setfacl is to recalculate the ACL mask entry, unless a mask entry was explicitly given. --- book/installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/installation.rst b/book/installation.rst index c5a7ed955ff..72b56c24cbf 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -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**