Getting "permission denied" error while accessing cifs share.

Solution Verified - Updated -

Issue

  • Accessing CIFS share is giving error permission denied due to mount uses old cached credentials even after file change.
  • Share can be seen mounted as below, however listing contents is giving error "permission denied".
#grep -i cifs /proc/mounts
//hosta/Public/Beta Street/Business Services cifs   7.2T   6.6T   605G  92% /int-interfaces/ABC/XP2 

#cd Reporting/
#ls -la
ls: reading directory .: Permission denied
total 0

Environment

  • Red Hat Enterprise Linux 6
  • Common Internet File System (CIFS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In