diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-07 16:16:47 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-07 16:16:47 +0900 |
| commit | 2c17d1abe0568166f749fb109da47637623364aa (patch) | |
| tree | a29c7071e17ce5bbb0ba7f719ca846fe0a1c0c1c /cmd | |
| parent | 0aa459d1a9c28e0c7b97acf6ca97021b5be6007f (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.go | 2 |
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 } |
