Skip to content

Commit

Permalink
change perms
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Sep 26, 2024
1 parent de70a7e commit f0ca642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ func testnetify(ctx *Context, testnetAppCreator types.AppCreator, db dbm.DB, tra
}

emptyAddrBook := []byte("{}")
if err := os.WriteFile(addrBookPath, emptyAddrBook, 0o644); err != nil {
if err := os.WriteFile(addrBookPath, emptyAddrBook, 0o600); err != nil {
return nil, fmt.Errorf("failed to create empty addrbook.json: %w", err)
}

Expand Down

0 comments on commit f0ca642

Please sign in to comment.