Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14218 - Creation of /usr/games
Summary: Creation of /usr/games
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 00:24 UTC by Chuck Brewer
Modified: 2003-02-16 20:16 UTC (History)
1 user (show)

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 Chuck Brewer 2003-01-20 00:24:21 UTC
games being created under the new /usr/games directory not getting changed
permissions, ie /usr/games/ and subdirs are owned by root.root and should be
owned by root.games at the least

as a trivial side note..the games/file dirs are all over the place.. I have
binaries in /usr/bin (armagetron,lbreakout,lbreakout2,circuslinux) binaries
which are user unavailable in /usr/games/bin (xmahjongg) and docs anf config
files everywhere (armagetron and circuslinux under /usr/share, breakout and
breakout2, and xmahjongg under /usr/share/doc) plus I have /usr/local/games
which Ill probably never use..as un-portaged stuff here goes in opt..but thats
my preference. Id just like to see permissions fixed and games localized...Thank you
Comment 1 SpanKY gentoo-dev 2003-01-20 00:35:00 UTC
'games being created under the new /usr/games directory not getting changed permissions' 
what games ? 
 
as for not all games using /usr/games its because we havent updated all the ebuilds to use it 
yet ... just too much work for us atm 
Comment 2 Chuck Brewer 2003-01-20 16:40:40 UTC
I had a few mins to mess with this this morning and after manually fixing
permissions on the /usr/games  /usr/share/games dirs, subsequent games were
still being installed as root.root. However I have currently found the problem
and not quite sure what the universal solution is. I created the faux user games
and permissions got fixed and everything was right in the world. Im pretty
confident that Im not the only one missing a games user and it should be 35
games user(to match group #) rather than a created (1000+) games user.

Off the record, I get the feeling Im annoying you vapier, and if thats the case,
let me know and I'll quit committing bugs.
Comment 3 SpanKY gentoo-dev 2003-01-20 20:32:25 UTC
'games' comes in as part of the base system ... in both the passwd file and the group file ... so 
if its not working, its probably because the person removed the user/group ... 
 
what version (of Gentoo) did you install originally ? 
games should have been there since before 1.0 ... 
 
as for me being annoyed by you, i honestly have no idea what you're refering to ... unless you 
can point me at some bugs with which i could refresh my memory, i'd have to say 'nope' ;) 
Comment 4 SpanKY gentoo-dev 2003-01-20 20:34:01 UTC
actually, quick mental note, ill add an additional check to the games_pkg_postinst() function 
that'll display an error/warning message if no 'games' user or 'games' group could be located 
Comment 5 Chuck Brewer 2003-01-21 13:37:45 UTC
I installed from stage one on a 1.4rc1 disk I bought from tuxcds.com. I can
guarantee I didnt remove it, because I didnt know it was there:) Baselayout
won't automatically update passwd and group, so its catch-22 for some people. I
inquired on IRC last nite and apparently some people have a games user and
others do not.Not anticipating any  sort of automatic update to remedy it, I
manually rebuilt my passwd and group files.As I noticed you may decide to
include a warning on missing games user/group, would it be possible to have the
eclass create the nonexisting one?(not thinking of my benefit..Ive fixed my
problem..but others less inclined to mess with their system files may be
relieved) :)
Comment 6 SpanKY gentoo-dev 2003-01-21 14:53:28 UTC
i'm a little against ebuilds creating users/groups (imo none should ...) 
 
but i guess until we have a better way of doing it, ill have the eclass add the groups/users if 
they dont exist 
Comment 7 SpanKY gentoo-dev 2003-01-31 16:50:11 UTC
*** Bug 7615 has been marked as a duplicate of this bug. ***