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