From b704aee0fc587c847c90caf97f53df89526499f8 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Sun, 12 Jun 2022 19:34:31 +0300 Subject: [PATCH] init_secrets: change file mode when making .env file Signed-off-by: HeshamTB --- sql_app/init_secrets.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql_app/init_secrets.sh b/sql_app/init_secrets.sh index 0f1836f..11e44eb 100755 --- a/sql_app/init_secrets.sh +++ b/sql_app/init_secrets.sh @@ -16,3 +16,5 @@ then exit 255 fi echo "first_user_pass=$firstpass" >> .env + +chmod 600 .env