From 8512e4b1718467579c7bad1d5ae97ffdd6146cea Mon Sep 17 00:00:00 2001 From: Ramon de Klein Date: Thu, 15 Aug 2024 13:14:22 +0200 Subject: [PATCH] Use proper permission for the update directory --- pkg/controller/artifacts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/artifacts.go b/pkg/controller/artifacts.go index efba6f2709b..12615b7fed4 100644 --- a/pkg/controller/artifacts.go +++ b/pkg/controller/artifacts.go @@ -98,7 +98,7 @@ func (c *Controller) fetchArtifacts(tenant *miniov2.Tenant) (latest string, err basePath := updatePath - if err = os.MkdirAll(basePath, 1777); err != nil { + if err = os.MkdirAll(basePath, 0o777); err != nil { return latest, err }