From 815d3ef29cb239bb694ae9e63a45827f02eea0f2 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Mon, 25 Mar 2019 08:42:08 -0700 Subject: [PATCH] Use setfacl for user www-data on app root path instead of chmod. --- Utilities/Remotely_Server_Install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Remotely_Server_Install.sh b/Utilities/Remotely_Server_Install.sh index 5bf0bb84..baa420b3 100644 --- a/Utilities/Remotely_Server_Install.sh +++ b/Utilities/Remotely_Server_Install.sh @@ -5,7 +5,7 @@ The output directory is the app root path. This would typically be in /var/www/[ read -p "Enter app root path: " appRoot read -p "Enter server host (e.g. example.com): " serverHost -chmod 757 $appRoot +setfacl -R -m u:www-data:rwx $appRoot # Install .NET Core Runtime. wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb