Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43846 - setuid nobody in setiathome not working
Summary: setuid nobody in setiathome not working
Status: RESOLVED DUPLICATE of bug 40120
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-05 19:58 UTC by Henry Yang
Modified: 2005-07-17 13:06 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 Henry Yang 2004-03-05 19:58:04 UTC
There is a line in setiathome-3.08-r2.ebuild

chown nobody:nogroup ${D}/${I}
chown nobody:nogroup ${D}/${I}/setiathome
chmod +s ${S}/setiathome

should be changed to

chown nobody:nogroup ${D}/${I}
chown nobody:nogroup ${D}/${I}/setiathome
chmod +s ${D}/${I}/setiathome

however, it seems that the rc script isn't creating the directory /var/lib/setiathome with the correct ownership. So in this case, the two bugs cancel out and all we see is setiathome running under root.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-03-05 20:01:16 UTC

*** This bug has been marked as a duplicate of 40120 ***