NFS problem: "Could not chdir to home directory /home/USER: Permission denied"
I have a running Network File Server serving many clients properly. Recently I have added one client (Fedora 8, x86_64), which listens to a YP server for users as well.
The file systems and users are exported fine. But, whenever I try to logon to the client as an user, I get the following error:
Please suggest where I might have gone wrong in this new client installation.
logged in as the user in question, what is the output of "id"?
then, if you "ls -n /home | grep USER" are the UID & GID the same as the output of "id"?
Sounds like there's a uid mapping problem.
Actually, they are the same. Here are the outputs:
you have two options: disable seLinux or need include de /home/USER in the selinux context... may be you move the /home/USER directory. try one of this.
set selinux to permissive
Rather than disabling selinux which would mean that the system would have to change the security context of all of your files I would suggest to change it from enforcing to permissive.
It will still monitor all file access but it will not prevent any file access.
the command to do this is:
to check if it work type
and hit enter.
Just a suggestion.
|All times are GMT -5. The time now is 04:28 AM.|