View previous topic :: View next topic |
Author |
Message |
dmitri n00b
Joined: 17 Sep 2003 Posts: 20
|
Posted: Thu Jun 03, 2004 9:24 pm Post subject: emerge -e world changes / permissions (users cannot login) |
|
|
After updating my CFLAGS and deciding to rebuild my system, I ran a emerge -e world.
After a while normal users could not login.
Code: |
vader root # su - testuser
Unable to cd to "/home/testuser"
|
Problem was with the permissions on /
Code: |
vader root # ls -ld /
drwxrws--- 25 root root 576 May 12 12:25 /
|
I changed the permissions to 755 as was another gentoo box of mine.
SOLUTION:
Code: |
vader root # chmod 755 /
|
Logins worked fine after this.
So, somehow an emerge -e world will change the / permissions.
I searched for a solution and found 2 threads talking about it but in each case they had to reinstall to fix it .
https://forums.gentoo.org/viewtopic.php?t=165503
https://forums.gentoo.org/viewtopic.php?t=144542
Credit for finding the permission problem comes from an Italian thread (and no, I don't read italian).
https://forums.gentoo.org/viewtopic.php?t=120336 _________________ Evil does not wear a BONNET! |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Fri Jun 04, 2004 4:02 pm Post subject: |
|
|
thanks. which package caused that? |
|
Back to top |
|
|
dmitri n00b
Joined: 17 Sep 2003 Posts: 20
|
Posted: Fri Jun 04, 2004 4:07 pm Post subject: |
|
|
Duno which package caused it. I noticed that the perm on many directories were changed to 2770 (not all). This happend during a emerge -e world. The emerge did not stop. I just noticed other problems with the system and found the issue to be with dir perms. _________________ Evil does not wear a BONNET! |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Fri Jun 04, 2004 4:08 pm Post subject: |
|
|
and with stable or unstable branch? (aka ACCEPT_KEYWORDS=~x86)
edit: typo
Last edited by jkt on Fri Jun 04, 2004 4:57 pm; edited 1 time in total |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Fri Jun 04, 2004 4:14 pm Post subject: |
|
|
Moved from Installing Gentoo. |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Thu Oct 21, 2004 9:31 am Post subject: |
|
|
i just had a similar problem. couldnt log on as user, used the searchfunction (i am just in as root ) and thankfully found this thread.
last thing i emerged yesterday was amule (1.2.. also wxGTK was emerged as dependency. my / got permissions 644 after that
//edit: ah, wait: i also did a system update prior to this, i just recall. i guess i didnt realize the problem at that state, because i was already logged on as a user. there was something updated yesterday, which for example tried to create those ".keep" files in every directory. i noticed this, because it failed creating .keep in /dev
however - dunno which package that was. it was emerged yesterday and changed my / to 644 ;(
//edit again:
just looked through it, and the package in question IMHO is "baselayout"! |
|
Back to top |
|
|
|