From 7046c7143df385fa81bd2f6458b8b71bcf7e552a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 2 Jun 2021 09:46:00 +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 5770202..c8fb52b 100755 --- a/scripts/install +++ b/scripts/install @@ -98,7 +98,7 @@ ynh_setup_source --dest_dir="$final_path" --source_id="$architecture" chmod 750 "$final_path" #chmod -R o-rwx "$final_path" -chown -R $app:www-data "$final_path" +chown -R $app: "$final_path" #================================================= # CREATE DATA AND GROUPS FOLDER diff --git a/scripts/restore b/scripts/restore index 8d2882d..9e397e6 100755 --- a/scripts/restore +++ b/scripts/restore @@ -69,7 +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" +chown -R $app: "$final_path" #================================================= # RESTORE SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 0b9c34d..50d38c1 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,7 +105,7 @@ fi chmod 750 "$final_path" #chmod -R o-rwx "$final_path" -chown -R $app:www-data "$final_path" +chown -R $app: "$final_path" #================================================= # NGINX CONFIGURATION