Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 747286

Summary: games-roguelike/moria has a typo in the groups assigned to scores.dat. Won't open
Product: Gentoo Linux Reporter: Iñigo <alvarezviu>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Iñigo 2020-10-08 08:56:22 UTC
After installing the game, it won't open saying that it cannot write "/var/lib/moria/scores.dat". The file exists, but has the owners set as "root:gamestat", while it should be "root:games". A simple chown root:games /var/lib/moria/scores.dat solves the issue, but has to be done manually after every install.

Reproducible: Always

Steps to Reproduce:
1.Install the game "Moria"
2.Try to play it
Actual Results:  
The game won't open and complain about not being able to write /var/lib/moria/scores.dat

Expected Results:  
Game should start with no warning

It runs after manually changing the ownership of the score file
Comment 1 James Le Cuirot gentoo-dev 2020-10-08 09:11:08 UTC
That's not a typo. Add yourself to the gamestat group.

https://projects.gentoo.org/qa/policy-guide/filesystem.html#pg0205
Comment 2 Iñigo 2020-10-08 10:31:03 UTC
(In reply to James Le Cuirot from comment #1)
> That's not a typo. Add yourself to the gamestat group.
> 
> https://projects.gentoo.org/qa/policy-guide/filesystem.html#pg0205

I didn't knew that the group gamestat existed! It is the first time I ever encounter it. My apologies for the mistake