cmd/mbf: create report with reasonable perm

Making it inaccessible certainly is not reasonable.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-07 16:16:47 +09:00
parent 0aa459d1a9
commit 2c17d1abe0

View File

@@ -245,7 +245,7 @@ func main() {
if w, err = os.OpenFile( if w, err = os.OpenFile(
args[0], args[0],
os.O_CREATE|os.O_EXCL|syscall.O_WRONLY, os.O_CREATE|os.O_EXCL|syscall.O_WRONLY,
0, 0400,
); err != nil { ); err != nil {
return return
} }