From 17dd5c8b5888a3aeecf3d81703bfb4f31d3062d1 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Mon, 11 Mar 2024 09:53:55 +0100 Subject: [PATCH] fix(export): write config with correct permissions --- src/engine/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/config.go b/src/engine/config.go index 9c574e68..4c9f1a2a 100644 --- a/src/engine/config.go +++ b/src/engine/config.go @@ -229,7 +229,7 @@ func (cfg *Config) Write(format string) { destination = cfg.origin } - f, err := os.OpenFile(destination, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0755) + f, err := os.OpenFile(destination, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644) if err != nil { return }