Re: Games Team policy on games being setgid

Alexandre Detiste <[email protected]> Tue, 30 Dec 2025 20:47:37 +0100
Newsgroups gmane.linux.debian.devel.games
Message-ID <CADsTwj+DejH6JD11w-9j-6KDCDvSAG8uVEFden_JzgwPwvfDUQ@mail.gmail.com>
Le mar. 30 d=C3=A9c. 2025 =C3=A0 12:07, Simon McVittie <[email protected]> a =
=C3=A9crit :
>
> On Tue, 30 Dec 2025 at 08:18:37 +0100, Alexandre Detiste wrote:
> >Are old high score tables as valuables as a ... PostgreSQL database ?
>
> These games are the reason I didn't simply suggest forbidding setgid: I
> suspect that for some of them, we'll need to leave the game (or a
> wrapper) setgid in Debian 14 'forky', so that it can copy saved games in
> progress to the user's home directory on startup, so that they can still
> be played after we finally remove setgid

Nice ! I was think of having maintainer scripts moving the file arbitrarily
to $("getent passwd 1000  | cut -d : -f 6")/.$game ; but this is way cleane=
r.

My idea would have probably been forbidden by several Policy points

> - it isn't actually Games Team maintained, but instead NMU'd by
>    Alexandre (if someone is interested in maintaining this game, we shoul=
d
>    ask Marga if she's willing to hand it over to the Games Team - she'll
>    probably say yes since she hasn't touched it since 2008)
Let's file an ITS. A bug number is a cheap ressource.

> - the setgid doesn't actually do anything useful, because the patch to
>    make the game write to /var/games/hannah/ hasn't been applied since
>    trixie
Oops

Still at the office these days, so answering slowly

Greetings

Alexandre