From 0839ee106520b44801ebf79bd454c93d74299512 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 2 Mar 2023 23:08:35 +0100 Subject: [PATCH] fix permissions --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index bb40839..d5731b4 100755 --- a/scripts/install +++ b/scripts/install @@ -68,6 +68,8 @@ ynh_add_config --template="../conf/.env.production" --destination="$install_dir/ chmod 600 $install_dir/.env chown $app: "$install_dir/.env" +chown -R $app: /var/log/$app/ + set -a; source "$install_dir/.env"; set +a #=================================================