Package: crawl-common Version: 2:0.6.0-1 Severity: normal
Current unstable version of crawl-common (it was trivial to backport crawl to lenny) contains handling of incompatible savegames in its postinst script. Sadly, if one installs crawl (and crawl-common as a dependency) for the first time (i.e. not upgrading from previous version), that leads to: 1) Creation of '/var/games/crawl/saves' directory. 2) Creation of '/var/games/crawl/saves/logfile' empty file. 3) Creation of '/var/games/crawl/saves/scores' empty file. 4) Chowning above-mentioned files to games:games. Now if one actually runs crawl with userid different from 'root' or 'games', crawl works ok, but: 1) If in-game character dies, crawl wants to update its scores file. 2) Considering above-mentioned file is unwritable, crawl just silently fails. 3) As a consequence, in-game character savegame in not deleted. So, one can just run crawl again, and select just-died character, and continue playing from last save (or character creation, if one never saved). Such character immortality is certainly cool 'feature', but I doubt it was intended upstream - hence this bug is tagged 'normal'. Suggested fix is to add chmod g+w $DIR/logfile $DIR/scores or chmod 660 $DIR/logfile $DIR/scores to crawl-common postinst script. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash crawl-common depends on no packages. Versions of packages crawl-common recommends: ii crawl 2:0.6.0-1 Dungeon Crawl, a text-based roguel crawl-common suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org