
Am Donnerstag, 26. März 2009 schrieb Cristian Morales Vega:
How is the games group supposed to be used? Tower Toppler want to set itself in the games group with setgid set so it can write on a global hiscore file also set at games group. It seems ok to me, but rpmlint complains about the setgid.
Should I ignore rpmlint or it is correct and users able to play games are supposed to be in the games group to start with? If my memory doesn't fails in openSUSE, by default, users aren't in the games group... since an user that plays games hasn't to know about users and groups that would be a bug.
try this: %files %defattr(-,root,root,-) %doc *.txt %{_bindir}/abcdefgh %{_datadir}/applications/my.desktop .... # and now the game data %defattr(664,root,games,755) %{_datadir}/games/towertoppler/* or on filebase add for files with special rights %attr(750,root,games) %{_datadir}/games/%{name}/aProgram %attr(750,root,games,664) %{_datadir}/games/%{name}/a_config_file and remove the chown/setgid calls from make, scons or whatever this program use have fun Toni -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org