Skip to content

Commit 3eef3a2

Browse files
authored
Use proper permission for the update directory (#2277)
1 parent 6a1e81b commit 3eef3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/artifacts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (c *Controller) fetchArtifacts(tenant *miniov2.Tenant) (latest string, err
9898

9999
basePath := updatePath
100100

101-
if err = os.MkdirAll(basePath, 1777); err != nil {
101+
if err = os.MkdirAll(basePath, 0o777); err != nil {
102102
return latest, err
103103
}
104104

0 commit comments

Comments
 (0)