diff --git a/cmd/xl-storage.go b/cmd/xl-storage.go index 1a48c1558..1e90c4496 100644 --- a/cmd/xl-storage.go +++ b/cmd/xl-storage.go @@ -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):