build: Correct default permissions on auto-generated settings.toml

This commit is contained in:
Starbeamrainbowlabs 2019-03-10 00:19:34 +00:00
parent 47f9af242a
commit 6df03112e8
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 0 deletions

1
build
View File

@ -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 "";