Bug 26334 - tome-2.2.2 ebuild sets too strict permissions
Bug#: 26334 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: maija.toivola@tut.fi
Component: Games
URL: 
Summary: tome-2.2.2 ebuild sets too strict permissions
Keywords:  
Status Whiteboard: 
Opened: 2003-08-10 07:13 0000
Description:   Opened: 2003-08-10 07:13 0000
tome-2.2.2 ebuild does not give write permissions to group for any of its
files, which 
prevents users in games group from playing ToME. 

Workaround: 
cd /usr/share/games/tome/lib 
chmod -R g+w apex data save user 

This problem does not seem to appear in updating from a working old version of
the 
ebuild. At least conversion from 2.1.2 to 2.2.2 works. 

Reproducible: Always
Steps to Reproduce:
1. Make sure you do not have tome installed and you belong to the games group. 
2. emerge tome 
3. Try to run it.  
Actual Results:  
It complained about not finding s_info.raw and exited. (s_info.raw and other
*.raw files 
should get created at first startup, but they did not due to permissions.) A
new window 
meant for ToME flickered into existence and quickly away again. 

Expected Results:  
Showed ToME title screen. 

This was on a newly installed Gentoo on which tome had never been emerged
before. 
I had used the X useflag for tome and tried to start the game from Konsole in
KDE.

------- Comment #1 From SpanKY 2003-10-13 13:06:15 0000 -------
please upgrade to 2.2.3 and make sure it fixes this :)