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 707cdaa604
commit 0012b981c1
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
dirname := path.Dir(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 {
return err
}