Package: nethack
Version: 3.4.3-10.6
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu jaunty ubuntu-patch
Hi,
The binary /usr/lib/games/nethack/recover should be setgid games in
order to be able to access the savegame files. This was reported on
Launchpad at [0] by Jeff Bailey.
I've attached a patch to fix this issue for your consideration.
Thanks,
Iain
[0] https://bugs.launchpad.net/ubuntu/+source/nethack/+bug/196380
-- System Information:
Debian Release: lenny/sid
APT prefers intrepid-updates
APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500,
'intrepid-proposed'), (500, 'intrepid-backports'), (500, 'intrepid')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.27-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u nethack-3.4.3/debian/rules nethack-3.4.3/debian/rules
--- nethack-3.4.3/debian/rules
+++ nethack-3.4.3/debian/rules
@@ -107,6 +107,9 @@
debian/nethack-common/usr/lib/games/nethack/$$prg; \
done
+ # recover needs to be setgid games
+ chmod g+s debian/nethack-common/usr/lib/games/nethack/recover
+
# all shell scripts, nethack binaries, overrides, and nethackrcs
for flavor in $(TARGETS); do \
install -m 0755 -o root -g games debian/$$flavor/nethack.sh \