[comp.sources.games.bugs] NetHack 3.0 Installation?

bruno@sdcc10.ucsd.EDU (Bruce W. Mohler) (08/01/89)

I think that the basic assumption for NetHack 3.0
is that everyone is moving up to it from a prior level,
becuase there is no installation procedure (in the
files that I ftp'd).  Is there an installation procedure
that's available?

I've moved nethack into /usr/games...

I've created directory /usr/games/lib/nethackdir...

I've created directory /usr/games/lib/nethackdir/record...

I've created a zero length file in nethackdir called perm...

However --

	When I start nethack, I get:

		Warning: cannot write /usr/games/lib/nethackdir/record

		(This directory is 0777, owner bin, group bin)

	When I quit out of nethack, I get:

		record_lock: Not owner
		Waiting for access to record file. (299)
		.
		.
		.

		(file perm is 0666, owner bin, group bin; if I
		go into the nethackdir, I do not see a safelock
		file (linked to perm or anything else))

	There's no on-line help...

Environment:

	Compaq 386/20 running Xenix 2.3.1, Dev Sys 2.2

Thanks:

	in advance!
-- 
Bruce W. Mohler
Systems Programmer (aka Staff Analyst)
bruno@sdcc10.ucsd.edu
voice: 619/586-2218

aem@ibiza.cs.miami.edu (a.e.mossberg) (08/01/89)

bruno@sdcc10.ucsd.EDU (Bruce W. Mohler) writes:
>	When I start nethack, I get:

>		Warning: cannot write /usr/games/lib/nethackdir/record

>		(This directory is 0777, owner bin, group bin)

>	When I quit out of nethack, I get:

>		record_lock: Not owner
>		Waiting for access to record file. (299)


Did you make /usr/games/lib/nethackdir/nethack setuid or setgid?

here's how mine is set up: 

/usr/games:
lrwxr-xr-x  1 root     play            3 Apr 24 15:46 nethack -> .gr

[.gr is the game regulator program, which will call nethack, the shell script]

/usr/games/lib:
drwxr-xr-x  3 games    play          512 Jul 31 15:50 nethackdir

/usr/games/lib/nethackdir:
-rw-r--r--  1 games    play         1939 Jul 26 18:59 castle
-rw-r--r--  1 games    play         3325 Jul 26 18:59 cmdhelp
-rw-r--r--  1 games    play        13799 Jul 26 18:59 data
-rw-r--r--  1 games    play         1048 Jul 26 18:59 endgame
-rw-r--r--  1 games    play         6251 Jul 26 18:59 help
-rw-r--r--  1 games    play         2718 Jul 26 18:59 hh
-rw-r--r--  1 games    play         1934 Jul 26 18:59 history
-rw-r--r--  1 games    play         4902 Jul 26 18:59 license
-rw-r--r--  1 games    play          734 Jul 31 15:50 logfile
-rwsr-xr-x  1 games    play       631808 Jul 26 18:59 nethack
-rw-r--r--  1 games    play         3657 Jul 26 18:59 opthelp
-rw-r--r--  1 games    play         3868 Jul 26 18:59 oracles
-rw-r--r--  1 games    play            0 Jul 26 18:59 perm
-rw-r--r--  1 games    play          654 Jul 31 15:50 record
-rw-r--r--  1 games    play        19064 Jul 26 18:59 rumors
drwxr-xr-x  2 games    play          512 Jul 27 15:12 save
-rw-r--r--  1 games    play          394 Jul 26 18:59 tower1
-rw-r--r--  1 games    play          345 Jul 26 18:59 tower2
-rw-r--r--  1 games    play          369 Jul 26 18:59 tower3
a.e.mossberg - aem@mthvax.cs.miami.edu/aem@umiami.BITNET - Pahayokee Bioregion
Democracy becomes a government of bullies, tempered by editors.
						 	- Ralph Waldo Emerson