Listing a CIFS share on Red Hat Enterprise Linux 5.2 results in "ls: reading directory .: Not a directory"

Solution Verified - Updated -

Issue

  • After mounting a CIFS share, issuing ls on the mounted share reports an error of:
ls: reading directory .: Not a directory
  • Issuing ls -laZ within the mounted share directory produces output similar to the following:
?---------  ?      ?                                        filename

Environment

  • Red Hat Enterprise Linux 5
  • kernel < 2.6.18-113.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content