From ad7fe3265b05e9b9dc5718fb56f66a5cc6d3f454 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 2 Jun 2021 09:41:05 +0200 Subject: [PATCH] Fix --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index b5bb202..5770202 100755 --- a/scripts/install +++ b/scripts/install @@ -97,7 +97,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_setup_source --dest_dir="$final_path" --source_id="$architecture" chmod 750 "$final_path" -chmod -R o-rwx "$final_path" +#chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" #================================================= diff --git a/scripts/restore b/scripts/restore index 85524bd..8d2882d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -68,7 +68,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" -chmod -R o-rwx "$final_path" +#chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index e6161fd..0b9c34d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -104,7 +104,7 @@ then fi chmod 750 "$final_path" -chmod -R o-rwx "$final_path" +#chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" #=================================================