From 6df03112e897a2f344d4ed4eeed0ece2d1a3c881 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 10 Mar 2019 00:19:34 +0000 Subject: [PATCH] build: Correct default permissions on auto-generated settings.toml --- build | 1 + 1 file changed, 1 insertion(+) diff --git a/build b/build index c9b38a9..0fbe1c9 100755 --- a/build +++ b/build @@ -92,6 +92,7 @@ function task_setup { echo -e "# -------[ Custom Settings File - Last updated $(date) ]-------" >"./data/settings.toml"; echo -e '[database]\nusername = "INSERT_DATABASE_USERNAME_HERE"\npassword = "INSERT_DATABASE_PASSWORD_HERE";' >>"./data/settings.toml"; + chmod 0600 "./data/settings.toml"; echo -e "${HC}Don't forget to edit './data/settings.toml' to specify the database username and password${RS}"; echo -e "";