diff --git a/cli/cmd/root.go b/cli/cmd/root.go
index c54937f914e67e39417d72309c4d645d61dd245c..ce1782a408d8da32c9a5edbad709d11d63d7aaa4 100644
--- a/cli/cmd/root.go
+++ b/cli/cmd/root.go
@@ -115,7 +115,7 @@ func initConfig() {
 			}
 			// Config file not found
 			// Try to create empty config file
-			if err = os.WriteFile(fmt.Sprintf("%s%s", defaultPath, configFileName), []byte(""), 0700); err != nil {
+			if err = os.WriteFile(fmt.Sprintf("%s%s", defaultPath, configFileName), []byte(""), 0600); err != nil {
 				log.Error("Config file not found and was unable to create, error: ", err)
 			}
 		} else {