From d46845b87678027edef2acf7727c7498b17f3772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 1 Apr 2023 22:05:42 +0200 Subject: [PATCH] fix --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 140f149..4b3448b 100755 --- a/scripts/install +++ b/scripts/install @@ -18,7 +18,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" -chown -R ynh_$app:www-data "$install_dir" +chown -R www-data:www-data "$install_dir" #================================================= # NGINX CONFIGURATION diff --git a/scripts/restore b/scripts/restore index 200cb61..f5eef1f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -18,7 +18,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 ynh_$app:www-data "$install_dir" +chown -R www-data:www-data "$install_dir" #================================================= # RESTORE THE NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 31e64b3..63a7b47 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -28,7 +28,7 @@ then fi chmod -R o-rwx "$install_dir" -chown -R ynh_$app:www-data "$install_dir" +chown -R www-data:www-data "$install_dir" #================================================= # NGINX CONFIGURATION