From f53fd8e63b0fd10a9f24988b288417de07deffbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 11 Aug 2023 13:13:32 +0200 Subject: [PATCH] fix --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 963059b..6122364 100755 --- a/scripts/restore +++ b/scripts/restore @@ -17,7 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -chown -R $app:www-data "$install_dir" +chown -R $app:root "$install_dir" #================================================= # RESTORE SYSTEM CONFIGURATIONS diff --git a/scripts/upgrade b/scripts/upgrade index f2f91bb..a372401 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -32,7 +32,7 @@ then ynh_setup_source --dest_dir="$install_dir" fi -chown -R $app:www-data "$install_dir" +chown -R $app:root "$install_dir" chmod +x -R "$install_dir/conduit" #=================================================