mission critical problem !!!!

William A. Mahaffey III wam at hiwaay.net
Sun Aug 31 13:27:23 UTC 2014


On 08/30/14 21:13, kpneal at 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.



More information about the freebsd-questions mailing list