From e8131dc92864034910703f1125f4011a5f3e6512 Mon Sep 17 00:00:00 2001 From: finn Date: Mon, 28 Mar 2022 10:06:22 -0700 Subject: [PATCH] fix mode on created directories --- cmd/signaldctl/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/signaldctl/config/config.go b/cmd/signaldctl/config/config.go index 41de719..ea5c391 100644 --- a/cmd/signaldctl/config/config.go +++ b/cmd/signaldctl/config/config.go @@ -55,7 +55,7 @@ func Load() error { } func Save() error { - if err := os.MkdirAll(path.Dir(Path), 0660); err != nil { + if err := os.MkdirAll(path.Dir(Path), 0770); err != nil { return err } f, err := os.Create(Path)