From c60c178d6a205986cb6d817338c7409a7392555c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:08:55 +0200 Subject: [PATCH] Update restore --- scripts/restore | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index 6a33e34..bd6a502 100644 --- a/scripts/restore +++ b/scripts/restore @@ -17,12 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -mkdir -p $install_dir/sessions/ - -chown -R $app $install_dir/{data,plugins,sessions} -chmod -R 700 $install_dir/sessions -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +chown -R "$app:www-data" "$install_dir" #================================================= # RESTORE THE DATA DIRECTORY