From 347520b1c1f583c63bf8c5f484258b9d193cdca3 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 10 Jan 2022 21:07:59 +0100 Subject: [PATCH] Fix --- scripts/restore | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index c3bf040..b548ff1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -69,6 +69,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 +x "$final_path/shiori" #================================================= # RESTORE THE DATA DIRECTORY diff --git a/scripts/upgrade b/scripts/upgrade index a368fe0..3d7a71a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -74,6 +74,7 @@ fi chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +chmod +x "$final_path/shiori" #================================================= # NGINX CONFIGURATION