mirror of
https://github.com/minio/minio.git
synced 2025-11-22 10:37:42 -05:00
@@ -32,6 +32,8 @@ func readDir(dirPath string) (entries []string, err error) {
|
||||
// File is really not found.
|
||||
if os.IsNotExist(err) {
|
||||
return nil, errFileNotFound
|
||||
} else if os.IsPermission(err) {
|
||||
return nil, errFileAccessDenied
|
||||
}
|
||||
|
||||
// File path cannot be verified since one of the parents is a file.
|
||||
|
||||
Reference in New Issue
Block a user