Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107912 - sudo: can't open /etc/sudoers: Permission denied
Summary: sudo: can't open /etc/sudoers: Permission denied
Status: RESOLVED DUPLICATE of bug 101567
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 09:50 UTC by James
Modified: 2005-10-03 10:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James 2005-10-02 09:50:53 UTC
Using the livecd for the new install:
install-x86-universal-2005.1.iso

After the install, one tries to get sudo working, but it always fails with
$ sudo ls
sudo: can't open /etc/sudoers: Permission denied

access writes on / set wrongly to d-wxr----t

ls -ld /
d-wxr----t  19 root root 4096 Oct  2 18:02 /

Resetting them with "chmod 755 /" resulted in
# ls -ld /
drwxr-xr-x  24 root root 952 Oct  1 23:50 /

and sudo now works as expected.
Comment 1 roger55 (RETIRED) gentoo-dev 2005-10-02 17:10:25 UTC
This is a duplicate and documented with a red warning in the handbook for 
example here: 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5#doc_chap3 
 

*** This bug has been marked as a duplicate of 101567 ***
Comment 2 James 2005-10-03 10:54:44 UTC
So, why not just fix the bug instead of writing it in a document that I never saw.
I was just following the "Gentoo Linux x86 Quick Install Guide".