diff --git a/scripts/install b/scripts/install index 6b97bdd..8af2109 100755 --- a/scripts/install +++ b/scripts/install @@ -121,10 +121,6 @@ ynh_setup_source --dest_dir="$final_path" 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" - #================================================= # NGINX CONFIGURATION #================================================= @@ -175,6 +171,11 @@ ynh_replace_string --match_string="enable_id_obfuscation = false" --replace_stri #================================================= # GENERIC FINALIZATION #================================================= +# SECURE FILES AND DIRECTORIES +#================================================= +#chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" #================================================= # SETUP SSOWAT