From 61860e93a4bb6cfd9ad2a1ae3518bf3bfa79452d Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:54:02 -0500 Subject: [PATCH 1/2] Update install Grant write permission to owner for .env --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 93a679c..b3b8717 100755 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,7 @@ ynh_script_progression --message="Modifying a config file..." --weight=1 ynh_add_config --template="default.env" --destination="$install_dir/.env" -chmod 400 "$install_dir/.env" +chmod 600 "$install_dir/.env" chown $app:$app "$install_dir/.env" #================================================= From 434c411d876029dc5867d8084882851620a22ad8 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:54:40 -0500 Subject: [PATCH 2/2] Update upgrade Give write permission to owner for .env --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index de23274..0b15889 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -69,7 +69,7 @@ then ynh_add_config --template="default.env" --destination="$install_dir/.env" - chmod 400 "$install_dir/.env" + chmod 600 "$install_dir/.env" chown $app:$app "$install_dir/.env" fi