From 8c9bce2c47cc639cdfacb9371a8aae740289f698 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 20 Jul 2021 18:03:47 +0200 Subject: [PATCH] Update install --- scripts/install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index a52cab7..4494e34 100644 --- a/scripts/install +++ b/scripts/install @@ -77,6 +77,10 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" + #================================================= # NGINX CONFIGURATION #=================================================