Set perms to 600

This commit is contained in:
amcmanu3 2023-11-13 17:22:54 -05:00
parent de39b041cb
commit 7ef461489a

View File

@ -172,6 +172,7 @@ if __name__ == "__main__":
encoding="utf-8", encoding="utf-8",
) as f: ) as f:
f.write(json.dumps({"username": "admin", "password": password}, indent=4)) f.write(json.dumps({"username": "admin", "password": password}, indent=4))
os.chmod(os.path.join(app_path, "app", "config", "default-creds.txt"), 0o600)
else: else:
Console.debug("Existing install detected") Console.debug("Existing install detected")
Console.info("Checking for reset secret flag") Console.info("Checking for reset secret flag")