tighten up permission bits on config file writes

This commit is contained in:
Joel Wetzell
2026-05-17 10:05:27 -05:00
parent ad4aa91e08
commit 727d63cc32
+1 -1
View File
@@ -145,7 +145,7 @@ func writeConfig(configPath string, newConfig config.Config) error {
return err
}
err = os.WriteFile(configPath, configBytes, 0644)
err = os.WriteFile(configPath, configBytes, 0600)
if err != nil {
return err
}