From 3d3a5caf3e5a3663904d519f2ee4abf650744dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 21 Jul 2023 14:18:55 +0200 Subject: [PATCH] fix --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 8d4db20..7b25211 100755 --- a/scripts/install +++ b/scripts/install @@ -22,6 +22,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 87df7f1..87260f9 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,6 +25,7 @@ then ynh_setup_source --dest_dir="$install_dir" --keep="config/.env" fi +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" #=================================================