mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
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
Block a user