← Back to team overview

desktop-packages team mailing list archive

[Bug 885984] Re: Can not log in when homedir permissions are set `o-x`

 

** Visibility changed to: Public

** This bug is no longer flagged as a security vulnerability

** Visibility changed to: Public

** This bug is no longer flagged as a security vulnerability

-- 
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