Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45302 - Games need to be all owned by root and in the games group
Summary: Games need to be all owned by root and in the games group
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-21 11:21 UTC by John Richard Moser
Modified: 2004-06-18 09:00 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 John Richard Moser 2004-03-21 11:21:01 UTC
Games need to be all owned by root and in the games group.

There is apparently no real user "games;" it is a pseudo-user which has the same permissions as a regular user, and which games should not be run setuid as.  To satisfy Trusted Path Execution, games' binaries should be root owned and in the games group.

This seems to work fine for quake3, bsd-games, and armagetron.  I believe it worked for Planeshift, but I really don't remember if I tried it.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-17 05:18:58 UTC
Guys?

So do we change the games.eclass to make everything owned root:games?  I can see the benefit in this, and it is a requirement for TPE, as the poster mentioned.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-14 07:18:26 UTC
Well, I have changed the games to be owned root:games via the eclass since I got no response... ;]

I also think that there is little need for the games user now.  However, I would much rather we depracate the games-ded user and use the games user for things like dedicated servers.

Objections?
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-14 07:40:26 UTC
I forgot to mark this resolved
Comment 4 SpanKY gentoo-dev 2004-06-17 20:23:04 UTC
i thought i commented on this :)

i'm good with this except the way you fixed the eclass is wrong
you really need to change the GAMES_USER var rather than the subfunction since a lot of ebuilds use that variable
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-18 09:00:43 UTC
OK.  I changed the GAMES_USER to root, changed GAMES_USER_DED to games, and reverted the change to the gamesowners function.

Sound good?