Bug#875547: animals: can't be played as non root user
On Mon, Apr 16, 2018 at 7:34 PM, Markus Koschany wrote: > Control: tags -1 pending > > Dear maintainer, > > I've uploaded a new revision of animals versioned as 201207131226-2.1 > that addresses the issue. Please find attached the debdiff. > Thanks for uploading a fix!
Bug#875547: animals: can't be played as non root user
Control: tags -1 pending Dear maintainer, I've uploaded a new revision of animals versioned as 201207131226-2.1 that addresses the issue. Please find attached the debdiff. Regards, Markus diff -Nru animals-201207131226/debian/changelog animals-201207131226/debian/changelog --- animals-201207131226/debian/changelog 2016-09-11 20:20:18.0 +0200 +++ animals-201207131226/debian/changelog 2018-04-16 19:21:27.0 +0200 @@ -1,3 +1,12 @@ +animals (201207131226-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix typo overwrite -> override in debian/rules that prevented the use of +correct file permissions and thus made the game unusable. +Thanks to Aaron Howell for the report. (Closes: #875547) + + -- Markus Koschany Mon, 16 Apr 2018 19:21:27 +0200 + animals (201207131226-2) unstable; urgency=medium * Switch to dh diff -Nru animals-201207131226/debian/rules animals-201207131226/debian/rules --- animals-201207131226/debian/rules 2016-09-11 20:20:18.0 +0200 +++ animals-201207131226/debian/rules 2018-04-16 19:21:27.0 +0200 @@ -8,7 +8,7 @@ override_dh_strip: dh_strip --dbgsym-migration='animals-dbg (<<201207131226-1)' -overwrite_dh_fixperms: +override_dh_fixperms: dh_fixperms chown games:games $(CURDIR)/debian/animals/var/games/animals chmod 06775 $(CURDIR)/debian/animals/var/games/animals signature.asc Description: OpenPGP digital signature
Bug#875547: animals: can't be played as non root user
Package: animals Version: 201207131226-2+b1 Severity: grave Justification: renders package unusable The game tries to write its database in /var/games/animals, and segfaults on startup when it can't. it needs to either be setuid/gid to a user that can write to that location (but do nothing else), or it should use a local database in the user's home directory. At the moment it can only be played as root. -- System Information: Debian Release: stretch/sid APT prefers artful APT policy: (500, 'artful'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.12.0-12-generic (SMP w/8 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages animals depends on: ii libc6 2.24-12ubuntu1 ii libdb5.3++ 5.3.28-13.1 ii libgcc1 1:7.2.0-3ubuntu1 ii libstdc++6 7.2.0-3ubuntu1 animals recommends no packages. animals suggests no packages. -- no debconf information