Subject: no write access to /var/games/lmarbles/lmarbles.prfs
Package: lmarbles
Version: 1.0.7-1
Severity: important
Tags: patch
When running the game, you get that warning in the console:
WARNING: no write access to /var/games/lmarbles/lmarbles.prfs
It's a major pain because you have to start the game from scratch every time
you start playing, which really is not very fun after a while.
I notice the game has this postinst:
chown root:games /var/games/lmarbles/
chown root:games /var/games/lmarbles/lmarbles.prfs
chmod 775 /var/games/lmarbles
chmod 664 /var/games/lmarbles/lmarbles.prfs
But I'm not in the games group.
I don't believe it was intended to have regular users in the system be member
of games, since they can play anyways, they just can't save their preferences.
So postinst should probably also do:
chown :games /usr/games/lmarbles
chmod g+s /usr/games/lmarbles
I bet this is acceptable http://release.debian.org/squeeze/rc_policy.txt (5-n)
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lmarbles depends on:
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libsdl-mixer1.2 1.2.8-6.3 mixer library for Simple DirectMed
ii libsdl1.2debian 1.2.14-6.1 Simple DirectMedia Layer
lmarbles recommends no packages.
lmarbles suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]