Why users are getting "Permission denied" error while creating files in its home directory in Red Hat Enterprise Linux ?

Solution Verified - Updated -

Issue

  • NFS server and client are integrated with active directory and users home directories are exported and mounted through autofs in client system. When user try to create files in its home directory it says "Permission denied"

Server:

# vim /etc/exports 
/home *(rw,sync,no_root_squash) 

Client:

$ cat /etc/auto.home 
ADuser  NFSServer:/home/ADuser 
$ touch testfile 
touch: cannot touch `testfile': Permission denied

Environment

  • Red Hat Enterprise Linux 5/6
  • AD
  • NFS
  • winbind
  • Autofs

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.