*** This bug is a duplicate of bug 877766 ***
https://bugs.launchpad.net/bugs/877766
Attached patch fixes this issue by changing directory after (not before)
changing uid.
** Patch added: "chdir-after-setuid.patch"
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/885984/+attachment/2723589/+files/chdir-after-setuid.patch
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/885984
Title:
Can not log in when homedir permissions are set `o-x`
Status in “lightdm” package in Ubuntu:
New
Bug description:
When mounting home directories over NFS with root squashing, users
with home directories with the execute bit unset for other (i.e.
`chmod o-x $HOME`) will not be able to log in via lightdm. The log in
appears to be successful, the screen blinks, and then the log in
screen returns. Users should be able to log in via lightdm in a root-
squashed environment without requiring the execute bit set for
everyone on the home directory.
$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$ apt-cache policy lightdm
lightdm:
Installed: 1.0.1-0ubuntu6
Candidate: 1.0.1-0ubuntu6
Version table:
*** 1.0.1-0ubuntu6 0
500 http://mirrors.cat.pdx.edu/ubuntu/ oneiric/main amd64 Packages
100 /var/lib/dpkg/status
==> /var/log/lightdm/lightdm.log <==
[+4245.45s] DEBUG: Opened ConsoleKit session
45a196b38946d744fc2450aa0000038d-1320380637.865888-1199086430
[+4245.45s] DEBUG: Dropping privileges to uid 11248
[+4245.45s] DEBUG: Adding session authority to /u/jesusaur/.Xauthority
[+4245.47s] DEBUG: Restoring privileges
[+4245.47s] DEBUG: Launching process 10563: /usr/sbin/lightdm-session
'gnome-session --session=ubuntu'
[+4245.47s] WARNING: Failed to change to home directory /u/jesusaur:
Permission denied
[+4245.48s] DEBUG: Registering session with bus path
/org/freedesktop/DisplayManager/Session11
[+4245.48s] DEBUG: Process 10563 exited with return value 1
==> /var/log/auth.log <==
Nov 3 21:23:57 sizeof lightdm: pam_unix(lightdm:session): session closed for
user jesusaur
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/885984/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp