From 408709b073147cfa3a755e2de8944202ae9e3862 Mon Sep 17 00:00:00 2001 From: Anton Kovalenko Date: Sat, 25 May 2024 18:39:47 +0300 Subject: [PATCH] Mkdir appdata with 0700 --- caddy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddy.go b/caddy.go index 1e0eacd2b07f..27acabb1267a 100644 --- a/caddy.go +++ b/caddy.go @@ -869,7 +869,7 @@ func InstanceID() (uuid.UUID, error) { if err != nil { return uuid, err } - err = os.MkdirAll(appDataDir, 0o600) + err = os.MkdirAll(appDataDir, 0o700) if err != nil { return uuid, err }