From b5699abe6429837f20806ba90490df52e14808a7 Mon Sep 17 00:00:00 2001 From: SiM Date: Sun, 29 Apr 2018 14:59:22 +0200 Subject: [PATCH] Fix stdout.log owner --- scripts/install | 1 + scripts/restore | 1 + scripts/upgrade | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index dc82a57..0dee5b2 100644 --- a/scripts/install +++ b/scripts/install @@ -171,6 +171,7 @@ sudo -u "$app" php "$final_path/admin/migration.php" chown -R root: "$final_path" chown -R "$app": "$final_path/tpl_c" +chown -R "$app": "$final_path/admin/stdout.log" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 0797c91..ff956a9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -73,6 +73,7 @@ ynh_system_user_create "$app" # Set permissions chown -R "$app": "$final_path/tpl_c" +chown -R "$app": "$final_path/admin/stdout.log" #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index bc52aa7..ea6424c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -199,6 +199,7 @@ sudo -u "$app" php "$final_path/admin/migration.php" chown -R root: "$final_path" chown -R "$app": "$final_path/tpl_c" +chown -R "$app": "$final_path/admin/stdout.log" #================================================= # SETUP SSOWAT