mirror of https://github.com/minio/minio.git
add isSysErrNotDir to openFileNoSync (#16958)
This commit is contained in:
parent
3b7781835e
commit
5fa3665074
|
@ -1715,6 +1715,8 @@ func (s *xlStorage) openFileNoSync(filePath string, mode int) (f *os.File, err e
|
|||
return nil, errIsNotRegular
|
||||
case osIsPermission(err):
|
||||
return nil, errFileAccessDenied
|
||||
case isSysErrNotDir(err):
|
||||
return nil, errFileAccessDenied
|
||||
case isSysErrIO(err):
|
||||
return nil, errFaultyDisk
|
||||
case isSysErrTooManyFiles(err):
|
||||
|
|
Loading…
Reference in New Issue