Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2014 08:32:35 -0500
From:      "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        "FreeBSD Questions !!!!" <freebsd-questions@freebsd.org>
Subject:   Re: mission critical problem !!!!
Message-ID:  <540323F3.3070804@hiwaay.net>
In-Reply-To: <20140831021308.GB38393@neutralgood.org>
References:  <54007A94.1020801@hiwaay.net> <20140831021308.GB38393@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 08/30/14 21:13, kpneal@pobox.com wrote:
> On Fri, Aug 29, 2014 at 08:05:24AM -0500, William A. Mahaffey III wrote:
>>
>> .... I just pkg-installed nethack-nox11, then tried to run it as a
>> regular user. I get the following:
>>
>>
>> NetHack, Copyright 1985-2003
>>            By Stichting Mathematisch Centrum and M. Stephenson.
>>            See license for details.
>> No write permission to lock perm!
>>
>> Hit space to continue:
>>
>>
>> Then back to the shell prompt :-( .... This obviously won't do, what's
>> wrong here, more pilot error ? TIA ....
> You can use ktrace to see what files and directories are being accessed
> by NetHack:
>
> % ktrace -t cn NetHack
> % kdump
>
> I don't know the name of the executable. You'll have to change "NetHack"
> to be the correct executable name.
>
> Is NetHack setuid or setgid? If so you may need to unset those bits while
> using ktrace to shoot down the problem.
>
> Personally, I swear by ktrace. It isn't as powerful/flexible as dtrace,
> but the user interface just can't be beat. It's so straightforward doing
> what it does that it has saved my bacon I've forgotten how many times.
> Heck, one year I had to use it on MacOS X to get the commercial tax filing
> software I was using actually working.


I wound up searching the error msg on google & turned up a solution, the 
perms of one of the nethack dirs needed adjustment .... I did that & I 
am off to the races .... Thx :-) .....


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?540323F3.3070804>