aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-07 16:16:47 +0900
committerOphestra <cat@gensokyo.uk>2026-03-07 16:16:47 +0900
commit2c17d1abe0568166f749fb109da47637623364aa (patch)
treea29c7071e17ce5bbb0ba7f719ca846fe0a1c0c1c /cmd
parent0aa459d1a9c28e0c7b97acf6ca97021b5be6007f (diff)
cmd/mbf: create report with reasonable perm
Making it inaccessible certainly is not reasonable. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index 89466a78..096821ba 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
}