[CentOS] home on nfs

Sat Oct 28 08:25:53 UTC 2017
hw <hw at adminart.net>

John Hodrien <J.H.Hodrien at leeds.ac.uk> writes:

> On Fri, 27 Oct 2017, hw wrote:
>> Hi,
>> I have the home directory of a user on an nfs server and mount it on a
>> client.  When the user logs in, they end up in the root directory rather
>> than in their actual home directory and need to cd into it.
>> The user can read and write to their home directory, so it kinda works
>> fine --- but only kinda.  When the user starts emacs, some of the
>> settings in ~/.emacs are not applied, but the saved desktop is being
>> loaded.
>> Both machines are running Centos 7.4.  What could be wrong with the nfs
>> mount?
> I'd guess the user was incorrectly defined.  Does $HOME really point to the
> right path?

It does.  The user existed before the directory was (i. e. the very
disks were) moved to the server, and it´s now mounted in the same place
as before on the client.

"Didn't work" is an error.