From 67d788f216d8a8eb46da58b9d888e4f08b39c95d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 14 Jul 2021 19:27:34 +0200 Subject: [PATCH] Update install --- scripts/install | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index edd8669..77c62cd 100755 --- a/scripts/install +++ b/scripts/install @@ -95,8 +95,14 @@ mkdir $public_path mkdir -p $final_path/accounts/newsmirror ln -s $final_path/accounts/newsmirror $public_path/newsmirror -chown -R $app: "$final_path" -chown -R $app: $public_path + +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" + +chmod 750 $public_path +chmod -R o-rwx $public_path +chown -R $app:www-data $public_path #================================================= # NGINX CONFIGURATION