revert changes in FS implementation for umask

fixes #15494
This commit is contained in:
Harshavardhana
2022-08-08 08:29:37 -07:00
committed by Minio Trusted
parent 5e4213b3be
commit 638c57e466
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -867,7 +867,7 @@ func (fs *FSObjects) getObjectInfoNoFSLock(ctx context.Context, bucket, object s
// Read `fs.json` to perhaps contend with
// parallel Put() operations.
rc, _, err := fsOpenFile(ctx, fsMetaPath, 0o666)
rc, _, err := fsOpenFile(ctx, fsMetaPath, 0)
if err == nil {
fsMetaBuf, rerr := ioutil.ReadAll(rc)
rc.Close()