diff options
Diffstat (limited to 'helpers/path.go')
-rw-r--r-- | helpers/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/path.go b/helpers/path.go index 7af56960c..9fef06d2a 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) |