mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Set perms to 600
This commit is contained in:
parent
de39b041cb
commit
7ef461489a
1
main.py
1
main.py
@ -172,6 +172,7 @@ if __name__ == "__main__":
|
||||
encoding="utf-8",
|
||||
) as f:
|
||||
f.write(json.dumps({"username": "admin", "password": password}, indent=4))
|
||||
os.chmod(os.path.join(app_path, "app", "config", "default-creds.txt"), 0o600)
|
||||
else:
|
||||
Console.debug("Existing install detected")
|
||||
Console.info("Checking for reset secret flag")
|
||||
|
Loading…
Reference in New Issue
Block a user