Skip to content

Commit

Permalink
Use proper permission for the update directory (#2277)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramondeklein authored Aug 15, 2024
1 parent 6a1e81b commit 3eef3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/artifacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 3eef3a2

Please sign in to comment.