From 1772de7c5ece397164189d5fac375809353683c8 Mon Sep 17 00:00:00 2001 From: naiba Date: Thu, 28 Nov 2024 20:15:12 +0800 Subject: [PATCH] chore: dir perm --- model/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/config.go b/model/config.go index 85d447fc3f..5759e10d95 100644 --- a/model/config.go +++ b/model/config.go @@ -134,7 +134,7 @@ func (c *Config) Save() error { } dir := filepath.Dir(c.filePath) - if err := os.MkdirAll(dir, 0755); err != nil { + if err := os.MkdirAll(dir, 0750); err != nil { return err }