hdfs: fix permissions for when directory is created

This commit is contained in:
Lucas Messenger 2021-03-11 11:50:59 -05:00 committed by Nick Craig-Wood
parent 6fa74340a0
commit a5bd26395e

View File

@ -109,7 +109,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
dirname := path.Dir(realpath) dirname := path.Dir(realpath)
fs.Debugf(o.fs, "update [%s]", realpath) fs.Debugf(o.fs, "update [%s]", realpath)
err := o.fs.client.MkdirAll(dirname, 755) err := o.fs.client.MkdirAll(dirname, 0755)
if err != nil { if err != nil {
return err return err
} }