From deec640f5faa52ea17b7ffaaf590d769bdd82db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:49:26 +0200 Subject: [PATCH] fix --- scripts/change_url | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index ba35f83..5661b26 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -34,7 +34,7 @@ ynh_script_progression --message="Updating a configuration file..." ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json" -chmod 400 "/etc/$app/config.json" +chmod 650 "/etc/$app/config.json" chown $app:$app "/etc/$app/config.json" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 99ee8bf..0e223e8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,7 +51,7 @@ ynh_script_progression --message="Updating a configuration file..." ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json" -chmod 400 "/etc/$app/config.json" +chmod 650 "/etc/$app/config.json" chown $app:$app "/etc/$app/config.json" #=================================================