From owner-freebsd-ports Fri Nov 7 11:03:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA16893 for ports-outgoing; Fri, 7 Nov 1997 11:03:27 -0800 (PST) (envelope-from owner-freebsd-ports) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA16856 for ; Fri, 7 Nov 1997 11:02:17 -0800 (PST) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.7/8.8.5) with SMTP id MAA10547; Fri, 7 Nov 1997 12:58:58 -0500 (EST) X-Authentication-Warning: picnic.mat.net: chuckr owned process doing -bs Date: Fri, 7 Nov 1997 12:58:56 -0500 (EST) From: Chuck Robey X-Sender: chuckr@picnic.mat.net To: Mark Murray cc: Sheldon Hearn , freebsd-ports@FreeBSD.ORG Subject: Re: xemacs installs world writable dir In-Reply-To: <199711071842.UAA17890@greenpeace.grondar.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 7 Nov 1997, Mark Murray wrote: > Chuck Robey wrote: > > On Fri, 7 Nov 1997, Sheldon Hearn wrote: > > > > > The xemacs-20 port installs /usr/local/lib/xemacs/lock 777. This seems > > > to me to be a bad thing. > > > > Seeing as that's a place any user has to be able to write and read from, > > to obtain mutex locks, how else would you propose it be done? If you > > restrict it, then it loses it's usefulness, right? > > Souldn't it be at least mode 1777? There is also the possibility of > putting locks into (eg) /var/tmp, var/spool/lock and so on. > > Sheldon's objection to a publicly writable directory in > /usr/local/ is IMVHO valid. > > > > Surely there must be some less religiously offensive way? > > Right. I'd go with /var/tmp// (at a quick guess). Well, at a minimum, then, couldn't it respect the user's TMPDIR variable? I don't put my tmp stuff in the /, and I don't have a separate /var. I set TMPDIR to /usr/tmp, which is large enough not to care. > > M > -- > Mark Murray > Join the anti-SPAM movement: http://www.cauce.org > > > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------