From 35b23e2fa61cc1900b0a2d74cc99e41ed116cbc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 Nov 2023 23:36:32 +0100 Subject: [PATCH] fix --- scripts/restore | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 787e19b..4619525 100755 --- a/scripts/restore +++ b/scripts/restore @@ -17,6 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 1b84a97..ffd974b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -32,6 +32,7 @@ then ynh_setup_source --dest_dir="$install_dir" #--keep='.env' fi +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" #=================================================