From 8ee70b43ec82267fb2fced9e39f1ef22b6675ea2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 12 Jul 2021 14:21:39 +0200 Subject: [PATCH] Fix --- scripts/install | 4 +++- scripts/restore | 4 +++- scripts/upgrade | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 07ca4c6..220cce1 100755 --- a/scripts/install +++ b/scripts/install @@ -88,7 +88,9 @@ ynh_setup_source --dest_dir="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chmod 755 "$final_path/{tmp, upload, application/config" +chmod 755 "$final_path/tmp" +chmod 755 "$final_path/upload" +chmod 755 "$final_path/application/config/" #================================================= # NGINX CONFIGURATION diff --git a/scripts/restore b/scripts/restore index 1ff3cc4..2304d9f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -73,7 +73,9 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chmod 755 "$final_path/{tmp, upload, application/config" +chmod 755 "$final_path/tmp" +chmod 755 "$final_path/upload" +chmod 755 "$final_path/application/config/" #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 35a03c0..1c6bb08 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,7 +105,9 @@ fi chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chmod 755 "$final_path/{tmp, upload, application/config" +chmod 755 "$final_path/tmp" +chmod 755 "$final_path/upload" +chmod 755 "$final_path/application/config/" #================================================= # NGINX CONFIGURATION