diff --git a/helpers/path.go b/helpers/path.go index 7af56960ccb..9fef06d2a5b 100644 --- a/helpers/path.go +++ b/helpers/path.go @@ -573,7 +573,7 @@ func OpenFileForWriting(fs afero.Fs, filename string) (afero.File, error) { if !os.IsNotExist(err) { return nil, err } - if err = fs.MkdirAll(filepath.Dir(filename), 0755); err != nil { + if err = fs.MkdirAll(filepath.Dir(filename), 0777); err != nil { // rwx, rw, r before umask return nil, err } f, err = fs.Create(filename)