Cannot log in if root cannot read home directory

Bug #874905 reported by Nick Sillito
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

My system stores uses nfs to share /home across the network. When I upgraded to 11.10, certain users could not log in via Light DM (but could log in with a simple text terminal).
When I changed the users' home directory to a file on the local machine, they were able to log in fine.
Looking at the permissions on the users home directory, all those with rwx-r-xr-x were able to log in ok, all those with rwx------ were not able to log in.
I changed the permissions on one home directory to rwxr-xr-x and that user was able to log in.

I assume that Light DM needs to be able to read something from the user's home file, and it requests data as root. Because nfs does not allow root access, it fails.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Ian Morris (ipm) wrote :

I seem to have the same problem although in my case /home/xxxx is auto-mounted using nfs4 and kerberos authentication. Changing the attributes of the home directory to rwx--x--x was sufficient and not uncommon for users who have ~/public_html anyway.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.