From 98e7ead3808d73b453817becda1c399385987a82 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 22 Mar 2019 21:27:18 +0100 Subject: [PATCH] fix folder owner --- scripts/install | 3 +-- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index bd62b5e..f07a8fa 100644 --- a/scripts/install +++ b/scripts/install @@ -135,8 +135,7 @@ popd #================================================= # Set permissions to app files -chown -R www-data: $final_path - +chown -R $app: $final_path #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index a6c19cb..73176d6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -67,7 +67,7 @@ ynh_system_user_create $app #================================================= # Restore permissions on app files -chown -R www-data: $final_path +chown -R $app: $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 3f12aaf..2d1fefa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -122,7 +122,7 @@ popd #================================================= # Set permissions on app files -chown -R www-data: $final_path +chown -R $app: $final_path #================================================= # SETUP SSOWAT