From 759b231cc9762730f3af8f63b20d4fa37f97c29a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 18 Jun 2024 23:52:12 +0200 Subject: [PATCH] fix --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 04d3c30..5bd306b 100755 --- a/scripts/install +++ b/scripts/install @@ -23,6 +23,7 @@ ynh_script_progression --message="Setting up source files..." --weight=3 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" +chmod o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 48c340f..06998f8 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -19,6 +19,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=4 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep=".env public/uploads/" --full_replace=1 +chmod o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" #=================================================