From 7cd58e1b851d36d84ebcbd7cbffe67efecad071c Mon Sep 17 00:00:00 2001 From: Osamu Takiya Date: Sat, 12 Mar 2022 19:06:17 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20default=20config=20directo?= =?UTF-8?q?ry=20permission=20to=200755?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To avoid "permission denied" --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 0b19a81..849db74 100644 --- a/main.go +++ b/main.go @@ -79,7 +79,7 @@ func LoadSettings(setting Setting, automake bool) (Setting, error) { } func InitializeConfigFile(ConfigPath string) error { - if err := os.MkdirAll(filepath.Dir(ConfigPath), 0644); err != nil { + if err := os.MkdirAll(filepath.Dir(ConfigPath), 0755); err != nil { return err }