Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -e world changes / permissions (users cannot login)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dmitri
n00b
n00b


Joined: 17 Sep 2003
Posts: 20

PostPosted: Thu Jun 03, 2004 9:24 pm    Post subject: emerge -e world changes / permissions (users cannot login) Reply with quote

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
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Fri Jun 04, 2004 4:02 pm    Post subject: Reply with quote

thanks. which package caused that?
Back to top
View user's profile Send private message
dmitri
n00b
n00b


Joined: 17 Sep 2003
Posts: 20

PostPosted: Fri Jun 04, 2004 4:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Fri Jun 04, 2004 4:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri Jun 04, 2004 4:14 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Thu Oct 21, 2004 9:31 am    Post subject: Reply with quote

i just had a similar problem. couldnt log on as user, used the searchfunction (i am just in as root :oops: ) and thankfully found this thread.

last thing i emerged yesterday was amule (1.2.8). also wxGTK was emerged as dependency. my / got permissions 644 after that 8O

//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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum