From d6da9759a32c9232ad1f6e2246b4a7db470cc029 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Sun, 17 Dec 2017 08:41:08 +0100 Subject: [PATCH] [fix] Permissions for enigma plugin closes #21 (#22) * [fix] Permissions for enigma plugin * Update install * [fix] Permissions * Update install * Update upgrade --- scripts/install | 1 + scripts/upgrade | 2 ++ 2 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 04b23be..ad24650 100644 --- a/scripts/install +++ b/scripts/install @@ -181,6 +181,7 @@ ynh_store_file_checksum "${final_path}/config/config.inc.php" # Set permissions to app files chown -R root: "$final_path" chown -R $app: "${final_path}/temp/" "${final_path}/logs/" +chown -R $app: "$final_path/plugins/enigma/home" #================================================= # RELOAD NGINX diff --git a/scripts/upgrade b/scripts/upgrade index c239957..ff92958 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -203,6 +203,8 @@ ynh_store_file_checksum "${final_path}/config/config.inc.php" # Set permissions to app files chown -R root: "$final_path" chown -R $app: "${final_path}/temp/" "${final_path}/logs/" +chown -R $app: "$final_path/plugins/enigma/home" + #================================================= # RELOAD NGINX