diff --git a/cmd/dev/app/rule_type/init.go b/cmd/dev/app/rule_type/init.go index c7c078f87e..90e1048a63 100644 --- a/cmd/dev/app/rule_type/init.go +++ b/cmd/dev/app/rule_type/init.go @@ -187,7 +187,7 @@ func createRuleTypeTestDataDir(dirName string) error { } func createFileWithContent(fileName, content string) error { - return os.WriteFile(fileName, []byte(content), 0644) + return os.WriteFile(fileName, []byte(content), 0600) } func renderwithRuleTypeName(templ, name string) string {