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