From 37f3005213c339c425dfbf64529ac3b80d5ff469 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 18 Apr 2021 20:39:43 +0200 Subject: [PATCH] Fix --- scripts/install | 2 +- scripts/restore | 4 ++-- scripts/upgrade | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index d1fff37..2680a41 100755 --- a/scripts/install +++ b/scripts/install @@ -139,7 +139,7 @@ cp ../conf/user.css.example $final_path/public/dist/user.css chown -R $app: $final_path chmod 750 $final_path/bootstrap/cache chown -R $app: $public_path -chmod 750 $public_path +chmod 755 $public_path #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index a8f46fd..a086dc1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -77,9 +77,9 @@ ynh_restore_file --origin_path="$public_path" --not_mandatory # Set permissions to app files chown -R $app: $final_path -chmod -R 750 $final_path/bootstrap/cache +chmod 750 $final_path/bootstrap/cache chown -R $app: $public_path -chmod -R 750 $public_path +chmod 755 $public_path #================================================= # REINSTALL DEPENDENCIES diff --git a/scripts/upgrade b/scripts/upgrade index a4a36c7..b8e5cea 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -182,7 +182,7 @@ fi chown -R $app: $final_path chmod 750 $final_path/bootstrap/cache chown -R $app: $public_path -chmod 750 $public_path +chmod 755 $public_path #================================================= # RELOAD NGINX