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, 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