From 08a250464af556f2b29ddc4d1c515d74f08650ce Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 25 May 2021 13:37:29 +0200 Subject: [PATCH] Fix files permissions --- scripts/install | 1 + scripts/restore | 1 + scripts/upgrade | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 9c7182d..559126c 100644 --- a/scripts/install +++ b/scripts/install @@ -183,6 +183,7 @@ ynh_script_progression --message="Securing files and directories..." # Set permissions to app files chown -R $app: $final_path +chown -R $app: $config_path #================================================= # SETUP LOGROTATE diff --git a/scripts/restore b/scripts/restore index 6f4902b..2b1daa5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -82,6 +82,7 @@ ynh_script_progression --message="Restoring user rights..." # Restore permissions on app files chown -R $app: $final_path +chown -R $app: $config_path #================================================= # SPECIFIC RESTORATION diff --git a/scripts/upgrade b/scripts/upgrade index 9373063..57289e1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -188,6 +188,7 @@ fi # Set permissions on app files chown -R $app: $final_path +chown -R $app: $config_path #================================================= # SETUP LOGROTATE