From owner-freebsd-ports Sun Jul 19 17:46:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18579 for freebsd-ports-outgoing; Sun, 19 Jul 1998 17:46:56 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18570 for ; Sun, 19 Jul 1998 17:46:51 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id CAA20515; Mon, 20 Jul 1998 02:45:14 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id CAA03614; Mon, 20 Jul 1998 02:33:44 +0200 (CEST) (envelope-from andreas) Message-ID: <19980720023344.A2875@klemm.gtn.com> Date: Mon, 20 Jul 1998 02:33:44 +0200 From: Andreas Klemm To: Sue Blake , freebsd-ports@FreeBSD.ORG Subject: Re: nethack permissions References: <19980720080447.24765@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19980720080447.24765@welearn.com.au>; from Sue Blake on Mon, Jul 20, 1998 at 08:04:47AM +1000 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jul 20, 1998 at 08:04:47AM +1000, Sue Blake wrote: > The nethack-3.2.2 package package sets user and group to games.games > and permissions 664 for every file in /usr/local/lib/nethackdir/ > This has been deliberately set both in PLIST and in patch-aa (I think) > > Running nethack fails with: > Warning: cannot write scoreboard file /usr/local/lib/nethackdir/record > No write permission to lock perm! > > What's the trick here? Are well behaved users supposed to be rewarded > by adding them to the games group or something? /usr/local/bin/nethack is a wrapper shell script that calls the real nethack binary in ${PREFIX}/lib/nethack, that runs SGID games: -rwxr-sr-x 1 games games 1339278 19 Jul 14:15 nethack -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message