From 1d073f91e618cb582de74c057bc17964c5f1b6d1 Mon Sep 17 00:00:00 2001 From: Memo <58190287+memo-567@users.noreply.github.com> Date: Fri, 8 Apr 2022 05:49:41 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index cfc329f..4747b2a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -194,6 +194,15 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" +#================================================= +# TEST: SETUP PERMISSIONS (2nd time) +#================================================= + +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" +chmod -R 775 $final_path/storage + #================================================= # RELOAD NGINX #=================================================