From 4cc749cf95ba0749aa87d59e743f0df6e4f79ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 15 Jul 2022 17:39:22 +0200 Subject: [PATCH] Fix --- check_process | 9 +++++---- scripts/upgrade | 4 ++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/check_process b/check_process index fde3dea..003eef7 100644 --- a/check_process +++ b/check_process @@ -3,11 +3,12 @@ ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" - is_public=1 (PUBLIC|public=1|private=0) + domain="domain.tld" + path="/path" + is_public=1 language="fr" + admin="john" + password="1Strong-Password" ; Checks pkg_linter=1 setup_sub_dir=1 diff --git a/scripts/upgrade b/scripts/upgrade index 7cb5ded..9a08837 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -104,6 +104,10 @@ then ynh_secure_remove --file="$tmpdir" fi +chmod 755 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" + #================================================= # UPGRADE DEPENDENCIES #=================================================