From 9600a879cf666da13c7acb4c7afac5c03dc790f0 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 18 Jul 2022 17:07:46 +0200 Subject: [PATCH] Improve the explanation of the setfacl command usage --- setup/file_permissions.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/file_permissions.rst b/setup/file_permissions.rst index f3e250fbb9f..7bf2d0bf035 100644 --- a/setup/file_permissions.rst +++ b/setup/file_permissions.rst @@ -44,7 +44,8 @@ server user and grant the needed permissions: .. code-block:: terminal $ 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) - # if this doesn't work, try adding `-n` option + + # if the following commands don't work, try adding `-n` option to `setfacl` # set permissions for future files and folders $ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX var pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy