Ainsi parlait Fran�ois Pons :
[..]
> This can be seen as a policy for using score file, setgid games on the game
> binary, /var/lib/games can be written by games group and ghost the score
> file.
There is a problem tough in icebreaker rpm: icebreaker.score is installed as
root.root, altough the %attr directive is games.games in specfile...
[root@silbermann guillaume]# urpmi icebreaker
installing /var/cache/urpmi/rpms/icebreaker-1.09-1mdk.i586.rpm
Preparing...
###################################################################################################
[100%]
###################################################################################################
[100%]
[root@silbermann guillaume]# ll /var/lib/games/
total 0
-rw-r--r-- 1 root root 0 jui 20 13:54 icebreaker.scores
Morevoer, what the use of creating this file both in %install section:
touch $RPM_BUILD_ROOT%{_localstatedir}/games/icebreaker.scores
AND in %postun section:
touch %{_localstatedir}/games/icebreaker.scores
Finally, should not the /var/lib/games directory itself (owned by filesystem
package) be owned by root.games, with 775 perm, so as allow any game to
create its own score file if necessary ?
--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html