Skip to content

Commit 9600a87

Browse files
committed
Improve the explanation of the setfacl command usage
1 parent d28b6c4 commit 9600a87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup/file_permissions.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ server user and grant the needed permissions:
4444
.. code-block:: terminal
4545
4646
$ HTTPDUSER=$(ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1)
47-
# if this doesn't work, try adding `-n` option
47+
48+
# if the following commands don't work, try adding `-n` option to `setfacl`
4849
4950
# set permissions for future files and folders
5051
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX var

0 commit comments

Comments
 (0)