Bug#545253: gtkballs: High scores disappear upgrading from etch to lenny

Pavel Vávra plamen at square.cz
Sun Sep 6 00:23:19 UTC 2009


Package: gtkballs
Version: 3.1.5-8
Severity: normal



-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.5-pom64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gtkballs depends on:
ii  libatk1.0-0             1.22.0-1         The ATK accessibility toolkit
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libcairo2               1.6.4-7          The Cairo 2D vector graphics libra
ii  libglib2.0-0            2.16.6-2         The GLib library of C routines
ii  libgtk2.0-0             2.12.12-1~lenny1 The GTK+ graphical user interface 
ii  libpango1.0-0           1.20.5-5         Layout and rendering of internatio

gtkballs recommends no packages.

gtkballs suggests no packages.

-- no debconf information

Hallo,
  after upgrading from etch to lenny I've found that High Scores are not shown in GtkBalls.
  Searching on my disk I've found that Hiscore is saved in file /var/games/gtkballs-scores, but I've seen that this file has owner/group set to root/root and permissions set to rw-r--r--. It causes users are not allowed to write to this file. In addition it seems that this file has been rewriten during upgrade, because I found that this file is empty.
  My proposed solution:
    If installation process will find this file, leave it untouched (or change permissions to proper value rw-rw-r-- and owner root/games). If file doesn't exist, create empty one (if it is neccessary, but I think it is, because /var/games directory is owned by root/root) with owner root/games (not root/root) and permissions rw-rw-r-- (not rw-r--r--).

Thank you for final solution of this problem,
  Pavel





More information about the Pkg-games-devel mailing list