From 70cc3e4b876688cf264a3f0db6f454c814a8b647 Mon Sep 17 00:00:00 2001 From: Lance Bailey Date: Wed, 7 Dec 2016 12:44:16 +0200 Subject: [PATCH 1/2] Update file_permissions.rst Added extra explanation for setfacl to clarify the purpose of each command --- setup/file_permissions.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/file_permissions.rst b/setup/file_permissions.rst index 1680bf0dd7a..72b49dc63df 100644 --- a/setup/file_permissions.rst +++ b/setup/file_permissions.rst @@ -54,7 +54,9 @@ following script to determine your web server user and grant the needed permissi $ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var .. note:: - + The first setfacl deals with setting permissions on the currently exisitng files and folders, + while the second line results in setting permissions for future files and folders. + Both of these setfacl commands assign permissions for the system user and the apache user setfacl isn't available on NFS mount points. However, storing cache and logs over NFS is strongly discouraged for performance reasons. From 5996ba399946f84594ae25ace698ae4194fbe6fd Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 8 Dec 2016 09:37:51 +0100 Subject: [PATCH 2/2] Minor fix and rewording --- setup/file_permissions.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/setup/file_permissions.rst b/setup/file_permissions.rst index 72b49dc63df..5e36bc012bd 100644 --- a/setup/file_permissions.rst +++ b/setup/file_permissions.rst @@ -54,11 +54,14 @@ following script to determine your web server user and grant the needed permissi $ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var .. note:: - The first setfacl deals with setting permissions on the currently exisitng files and folders, - while the second line results in setting permissions for future files and folders. - Both of these setfacl commands assign permissions for the system user and the apache user - setfacl isn't available on NFS mount points. However, storing cache and logs - over NFS is strongly discouraged for performance reasons. + +   The first ``setfacl`` command sets permissions on the existing files and + folders, while the second one sets permissions for future files and folders. + Both of these commands assign permissions for the system user and the Apache + user. + + ``setfacl`` isn't available on NFS mount points. However, storing cache and + logs over NFS is strongly discouraged for performance reasons. 4. Without Using ACL ~~~~~~~~~~~~~~~~~~~~