From f367dc31dbe5ef13615c2c98f06ca561d3752948 Mon Sep 17 00:00:00 2001 From: rungeard Date: Tue, 11 May 2021 17:55:33 +0200 Subject: [PATCH] changement des droits du fichier de configuration --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index f14d0b3..6b97bdd 100755 --- a/scripts/install +++ b/scripts/install @@ -118,12 +118,13 @@ ynh_setup_source --dest_dir="$final_path" # files in some cases. # But FOR THE LOVE OF GOD, do not allow r/x for "others" on the entire folder - # this will be treated as a security issue. + +mv $final_path/'example-singleServer-full.html' "$final_path/index.html" + chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -mv $final_path/'example-singleServer-full.html' "$final_path/index.html" - #================================================= # NGINX CONFIGURATION #=================================================