From 1a5ef3b022df4172e9c2b9817b72e4d0a35b734b Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 29 Aug 2021 12:25:54 +0200 Subject: [PATCH] Fix change_url --- scripts/change_url | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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