From 5a60143ebe24240a84f7dd902df416b8bd137464 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 24 Mar 2021 20:51:25 +0100 Subject: [PATCH] Revert "Protect final_path" This reverts commit f764d11977f255a7b0ec64e84cab50c6efba7107. --- scripts/install | 1 - scripts/restore | 1 - scripts/upgrade | 1 - 3 files changed, 3 deletions(-) diff --git a/scripts/install b/scripts/install index cf19625..6f05f87 100644 --- a/scripts/install +++ b/scripts/install @@ -118,7 +118,6 @@ ynh_app_setting_set --app=$app --key=data_path --value=$data_path mkdir -p $data_path chown -R $app: $data_path chown -R $app: $final_path -chmod o-rwx $final_path #================================================= # SETUP APPLICATION diff --git a/scripts/restore b/scripts/restore index 7ddb5f8..1ca08a6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,7 +77,6 @@ ynh_script_progression --message="Restoring user rights..." # Restore permissions on app files chown -R $app: $final_path chown -R $app: $data_path -chmod o-rwx $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 8ffdb0a..cf1a4e0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -165,7 +165,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1 # Set permissions on app files chown -R $app: $data_path chown -R $app: $final_path -chmod o-rwx $final_path #================================================= # RELOAD NGINX