From 65e5a1cd15f35b93316eaa3be9b85d83e3309a31 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 2 Apr 2022 09:38:04 +0200 Subject: [PATCH] Fix --- scripts/change_url | 1 - scripts/restore | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 060c9e8..fc32d02 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -26,7 +26,6 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Loading installation settings..." --weight=1 -# Needed for helper "ynh_add_nginx_config" final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) datadir=$(ynh_app_setting_get --app=$app --key=datadir) diff --git a/scripts/restore b/scripts/restore index e3ec426..a368b00 100755 --- a/scripts/restore +++ b/scripts/restore @@ -67,6 +67,7 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +chmod -R +x "$final_path/filebrowser" #================================================= # RESTORE THE DATA DIRECTORY