Use setfacl for user www-data on app root path instead of chmod.

This commit is contained in:
Jared Goodwin 2019-03-25 08:42:08 -07:00
parent 45b3ac0a47
commit 815d3ef29c

View File

@ -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