Listing a CIFS share on Red Hat Enterprise Linux 5.2 results in "ls: reading directory .: Not a directory"
Issue
- After mounting a CIFS share, issuing
lson the mounted share reports an error of:
ls: reading directory .: Not a directory
- Issuing
ls -laZwithin 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
