Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 18:50:51 -0800 (PST)
From:      Mark Laws <mdl@60hz.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59443: `hack' in freebsd-games port broken
Message-ID:  <20031119025051.EB2CB4260@urusai.60hz.org>
Resent-Message-ID: <200311190300.hAJ30bZh046657@freefall.freebsd.org>

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

>Number:         59443
>Category:       ports
>Synopsis:       `hack' in freebsd-games port broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 18 19:00:37 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Laws
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
Sixty Hertz Systems
>Environment:
System: FreeBSD urusai.60hz.org 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Sun Nov 9 22:16:44 PST 2003 mdl@urusai.60hz.org:/usr/src/sys/i386/compile/URUSAI i386

>Description:
	hack reports "Cannot get status of hack." and exits.
>How-To-Repeat:
>Fix:
	The source file hack.unix.c has the expected location of the hack
binary hard-coded as /usr/games/hide/hack . This should be changed to the
real destination before compiling.

	Additionally, the hack binary should be installed setgid games.
The port currently installs it with ownership root:wheel and without a setgid
bit, causing hack to quit with "Cannot chdir to /var/games/hackdir." once the
forementioned bug is fixed.

Happy hacking (har har),
Mark Laws
>Release-Note:
>Audit-Trail:
>Unformatted:



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