From 2c17d1abe0568166f749fb109da47637623364aa Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 7 Mar 2026 16:16:47 +0900 Subject: [PATCH] cmd/mbf: create report with reasonable perm Making it inaccessible certainly is not reasonable. Signed-off-by: Ophestra --- cmd/mbf/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index 89466a7..096821b 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -245,7 +245,7 @@ func main() { if w, err = os.OpenFile( args[0], os.O_CREATE|os.O_EXCL|syscall.O_WRONLY, - 0, + 0400, ); err != nil { return }