Bug#476635: alienblaster: Permissions problem

Johan Walles johan.walles at gmail.com
Fri Apr 18 05:35:29 UTC 2008


Package: alienblaster
Version: 1.1.0-1
Severity: normal


strace alienblaster
quit the program

In the strace output I get:

...
unlink("/usr/share/games/alienblaster/cfg/alienBlaster.cfg") = -1 EACCES (Permission denied)
open("/usr/share/games/alienblaster/cfg/alienBlaster.cfg", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = -1 EACCES (Permission denied)
write(1, "Options::saveFile(): error while"..., 97Options::saveFile(): error while opening file /usr/share/games/alienblaster/cfg/alienBlaster.cfg
) = 97
...

Note:
 The settings file is in /usr/share/..., shouldn't it be in /etc?
 Even though opening the file fails, alienblaster still tries to write to it.

After this the program doesn't properly terminate either, it just sits there eating CPU...

Excellent game though!

  Cheers //Johan

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages alienblaster depends on:
ii  alienblaster-data             1.1.0-1    Game data for Alien Blaster
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.0-3  GCC support library
ii  libsdl-mixer1.2               1.2.8-3    mixer library for Simple DirectMed
ii  libsdl1.2debian               1.2.13-2   Simple DirectMedia Layer
ii  libstdc++6                    4.3.0-3    The GNU Standard C++ Library v3

alienblaster recommends no packages.

-- no debconf information





More information about the Pkg-games-devel mailing list