From f0ca64278d7f3f0a73eb40a3023e8962cae2d968 Mon Sep 17 00:00:00 2001 From: Adam Tucker Date: Thu, 26 Sep 2024 16:58:17 -0600 Subject: [PATCH] change perms --- server/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/start.go b/server/start.go index 99526af2d932..488ae0270735 100644 --- a/server/start.go +++ b/server/start.go @@ -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) }