From 99c47b73dbe46d3ad00d53fe11469d30217b3850 Mon Sep 17 00:00:00 2001 From: Cirrus Gai Date: Fri, 5 Jan 2024 13:38:11 +0800 Subject: [PATCH] chore: Fix directory permission (#4) --- util/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/path.go b/util/path.go index 1e1a315..ec7e497 100644 --- a/util/path.go +++ b/util/path.go @@ -20,7 +20,7 @@ func FileExists(name string) bool { } func MakeDirectory(dir string) error { - err := os.MkdirAll(dir, 0600) + err := os.MkdirAll(dir, 0700) if err != nil { // Show a nicer error message if it's because a symlink // is linked to a directory that does not exist