diff --git a/scripts/change_url b/scripts/change_url index ab78e4f..2bcb034 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -103,7 +103,8 @@ ynh_script_progression --message="Updating a configuration file..." ynh_add_config --template=".env" --destination="$final_path/.env" -set_permissions +chmod 400 "$final_path/.env" +chown $app:$app "$final_path/.env" #================================================= # GENERIC FINALISATION