On Thu, 10 Dec 1998, Frank Barknecht wrote: : Nathan E Norman hat gesagt: // Nathan E Norman wrote: : : > : > What's the secret to get nethack to work? I have it sgid games, but it : > says it can't open /var/lib/games/nethack/perm ... : : Could be that nethack is not allowd to write in the directory : /var/lib/games/nethack/
I'm pretty sure I posted the permissions, but here goes ... : Check this: : # ls -la /var/lib/games/nethack/ : drwxrwsr-x 3 root games 1024 Nov 17 12:29 . : ^- this is important : drwxr-xr-x 9 root root 1024 Nov 6 13:10 .. : -rw-rw-r-- 1 root games 966 Dec 7 1997 logfile : -rw-rw-r-- 1 root games 0 Oct 29 1997 perm : -rw-rw-r-- 1 root games 745 Dec 7 1997 record : drwxrwxr-x 2 root games 1024 Aug 19 1997 save brahe:~ $ ls -la /var/lib/games/nethack/ total 5 drwxrwsr-x 3 root games 1024 Dec 4 16:24 ./ drwxr-xr-x 5 root root 1024 Dec 4 16:18 ../ -rw-rw-r-- 1 root games 53 Dec 4 16:24 logfile -rw-rw-r-- 1 root games 0 Dec 7 16:42 perm -rw-rw-r-- 1 root games 53 Dec 4 16:24 record drwxrwsr-x 2 root games 1024 Oct 29 1997 save/ : What version of nethack are you using? I remember this was a very old bug, : that should be removed by now. brahe:~ $ dpkg -l nethack Desired=Unknown/Install/Remove/Purge | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===============-==============-============================================ ii nethack 3.2.2-11 Text-based/X11 overhead view D&D-style adven I had read that the bug was fixed. Apparently not. -- Nathan Norman MidcoNet 410 South Phillips Avenue Sioux Falls, SD mailto:[EMAIL PROTECTED] http://www.midco.net finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)