Bug 37594 - games-roguelike/tome creates scores.raw file with bad permissions
Bug#: 37594 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: nrussell@buffalo.edu
Component: Games
URL: 
Summary: games-roguelike/tome creates scores.raw file with bad permissions
Keywords:  
Status Whiteboard: 
Opened: 2004-01-08 05:12 0000
Description:   Opened: 2004-01-08 05:12 0000
When I emerge tome, the /usr/share/games/tome/apex/scores.raw file is created
with owner and group root, rather than both set to games.  This means that my
regular user account (which is a member of games, and wheel, but not root)
can't save highscores.  I fixed the issue by hand on my own machine (easy
enough to do) but it should probably be taken care of in the ebuild.  

I'm setting this to major because it affects saving of highscores; feel free to
change it if you disagree.  

Nathan  

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Maija Toivola 2004-01-11 02:23:32 0000 -------
I can confirm this bug. Another thing the bug does is that it deleted the old
scores.raw from tome 2.2.3 on ebuild upgrade and replaced it with an empty one,
losing all the old highscores.

------- Comment #2 From SpanKY 2004-01-14 08:51:13 0000 -------
ok, 2.2.5-r1 moves the scores.raw to /var/games so that should address both of
these issues

------- Comment #3 From Nathan Russell 2004-01-16 09:30:22 0000 -------
Any chance of *moving* it, and doing a /bin/chown, rather than creating a new
high-score file there and losing the old scores?