From a7b0a226e5b9314e0ba3c0169dd7a684e7fc8eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 10:20:54 +0100 Subject: [PATCH] fix --- scripts/install | 1 + scripts/restore | 1 + scripts/upgrade | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index ae38f0b..b7abe21 100755 --- a/scripts/install +++ b/scripts/install @@ -19,6 +19,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from manifest.toml ynh_setup_source --dest_dir="$install_dir" +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" chmod +x "$install_dir/hbbr" chmod +x "$install_dir/hbbs" diff --git a/scripts/restore b/scripts/restore index 1ac27cb..9f6287f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -17,6 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" chmod +x "$install_dir/hbbr" chmod +x "$install_dir/hbbs" diff --git a/scripts/upgrade b/scripts/upgrade index fb3dd2c..51b3061 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,6 +33,7 @@ then ynh_setup_source --dest_dir="$install_dir" fi +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" chmod +x "$install_dir/hbbr" chmod +x "$install_dir/hbbs"