Re: pyracerz: Games crashes with Permission denied when writing highscores

Alexandre Detiste <[email protected]> Wed, 29 Apr 2026 11:53:05 +0200
Newsgroups gmane.linux.debian.devel.games
Message-ID <CADsTwjLyuAbiTbYJwkrZrC=9o-R8PNivohaObKO0K0a792fq=Q@mail.gmail.com>
--0000000000002cc2ee06509651e6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

Indeed, about 30 games it seems and only one half or one third seems to
attempt the "rmdir /var/games || true" step.

Many could and should be migrated to tmpfiles and/or debputy (-> the ones
that still do Rules-Requires-Root: binary-targets) but that's a lot of work=
.

Fixing it once for all/for now in dh-cruft seems easier and more efficient.

dh-cruft would be special-cased to generated the final "rmdir /var/games"
if it sees anything that starts with /var/games/ in debian/<package>.purge

The games will then pick it up in a next rebuild.

Greetings

Alexandre

Le mer. 29 avr. 2026, 10:51, Simon McVittie <[email protected]> a =C3=A9crit =
:

> This seems like something that several games are going to need: anything
> that is following the deprecated "high scores in /var/games" pattern,
> and anything with a Quake-style dedicated server as a system service.
>

--0000000000002cc2ee06509651e6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>Hi,</div><div dir=3D"auto"><br></div><div dir=3D"aut=
o">Indeed, about 30 games it seems and only one half or one third seems to =
attempt the &quot;rmdir /var/games || true&quot; step.</div><div dir=3D"aut=
o"><br></div><div dir=3D"auto">Many could and should be migrated to tmpfile=
s and/or debputy (-&gt; the ones that still do Rules-Requires-Root: binary-=
targets) but that&#39;s a lot of work.</div><div dir=3D"auto"><br></div><di=
v dir=3D"auto">Fixing it once for all/for now in dh-cruft seems easier and =
more efficient.</div><div dir=3D"auto"><br></div><div dir=3D"auto">dh-cruft=
 would be special-cased to generated the final &quot;rmdir /var/games&quot;=
 if it sees anything that starts with /var/games/ in debian/&lt;package&gt;=
.purge=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">The games w=
ill then pick it up in a next rebuild.=C2=A0</div><div dir=3D"auto"><br></d=
iv><div dir=3D"auto">Greetings</div><div dir=3D"auto"><br></div><div dir=3D=
"auto">Alexandre=C2=A0<br><br><div class=3D"gmail_quote gmail_quote_contain=
er" dir=3D"auto"><div dir=3D"ltr" class=3D"gmail_attr">Le mer. 29 avr. 2026=
, 10:51, Simon McVittie &lt;<a href=3D"mailto:[email protected]">smcv@debian.=
org</a>&gt; a =C3=A9crit=C2=A0:</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This seems like something that several games are going to need: anything <b=
r>
that is following the deprecated &quot;high scores in /var/games&quot; patt=
ern, <br>
and anything with a Quake-style dedicated server as a system service.<br>
</blockquote></div></div></div>

--0000000000002cc2ee06509651e6--