Problem: Ubuntu client Can No Access User's Home Directory

Problem

After creating a new user the user can not login on an Ubuntu client and is getting access errors:

Directory /home/schueler/newuser can not be created: File or Directory not found. Access denied.

Environment

Your /home folder is a NFS shared folder from the UCS server.

The permissions seems to be correct:
/etc/fstab:

master:/home               /home      nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0         

Permissions on the mounted home- directory are fine, too. “root” has full access.

root@ubuntu:/# ls -alh home/| head
insgesamt 1,9M
drwxr-xr-x 409 root          Domain Users School  36K Jul 22 13:49 .

Solution

Disable “root squashing” for the NFS share. It will map the Ubuntu-root user to user “nobody” on UCS who has no permissions to create directories.
image

1 Like