From 29bd71e39e36bacee0f1d3ab1d10ee85785a4d49 Mon Sep 17 00:00:00 2001 From: rungeard Date: Wed, 12 May 2021 15:35:22 +0200 Subject: [PATCH] changement droits des fichiers --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 8af2109..b1b897d 100755 --- a/scripts/install +++ b/scripts/install @@ -173,9 +173,11 @@ ynh_replace_string --match_string="enable_id_obfuscation = false" --replace_stri #================================================= # SECURE FILES AND DIRECTORIES #================================================= + +# Set permissions to app files +chown -R $app:www-data $final_path +chmod o-rwx $final_path #chmod 750 "$final_path" -chmod -R o-rwx "$final_path" -chown -R $app:www-data "$final_path" #================================================= # SETUP SSOWAT