You are not logged in.

#1 2009-04-17 16:59:27

JASN
Member
Registered: 2009-04-17
Posts: 18

Wrong home directory permissions for new users

Hi everyone.
I reinstalled my laptop the other day and ran into a rather strange problem: after a system update new users had their permissions totally screwed. It took me 3-4 reinstalls to notice, as i was also playing with lvm2 &co. Anyway, on fresh installations from either 2008.06 or 2009.02, everything works fine. As soon as i update to the latest package versions (including 2.6.29 kernel) and create a new user, permissions on the new home directory are screwed up to the point where the user can't access it.

Old directory permissions:

drwx------ 33 jasn users 4,0K 17. Apr 13:21 jasn
drwx------  2 root root   16K 17. Apr 12:15 lost+found

New directory permissions:

drw-rw--w-  2 jasm users 4,0K 17. Apr 13:43 jasm
drwx------ 33 jasn users 4,0K 17. Apr 13:21 jasn
drwx------  2 root root   16K 17. Apr 12:15 lost+found

Logging in to "jasm" results in

No directory, logging in with HOME=/
[jasm@host /]$

The whole mess can be fixed by changing the permissions on the home directory, but all that can't be on purpose, can it? I also don't know which package update (if it even was caused by one) causes this behaviour and if this only happens to me, so i didn't file a bug report.

Has anyone already seen this? I solved it after 1.5 days of puzzled (and strangely unsuccessful) googling and reinstalling, so perhaps someone who runs into the same problem can use this to fix it.

Last edited by JASN (2009-04-17 17:09:34)

Offline

Board footer

Powered by FluxBB