Monday, July 09, 2012

NFS - mount /home could not chdir to home direcotry: permission denied

 symptom
[root@garl-amd1 ~]# ssh akshay@garl-amd5
akshay@garl-amd5's password:
Last login: Mon Jul 26 02:02:38 2010 from garl-amd1
Could not chdir to home directory /home/akshay/: Permission denied
[akshay@garl-amd5 /]$ cd
[akshay@garl-amd5 akshay]$

This could be selinux related, there is a quick way to check by switching selinux into permissive mode rather than enforcing.

if you edit the file

/etc/sysconfig/selinux
 SELINUX=permissive and rebooted my machine

OR (I did)
setsebool -P use_nfs_home_dirs=1
 
OR
restorecon /home

0 Comments:

Post a Comment

<< Home