Switching to $app:www-data owner

This commit is contained in:
yalh76
2021-04-23 19:54:08 +02:00
parent 05e5b4f4a6
commit 3d70d72cfb
3 changed files with 3 additions and 6 deletions

View File

@@ -129,8 +129,7 @@ fi
# this will be treated as a security issue.
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R root: "$final_path"
chown root:$app "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION