Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 1997 12:58:56 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Mark Murray <mark@grondar.za>
Cc:        Sheldon Hearn <axl@iafrica.com>, freebsd-ports@FreeBSD.ORG
Subject:   Re: xemacs installs world writable dir 
Message-ID:  <Pine.BSF.3.96.971107125736.9991C-100000@picnic.mat.net>
In-Reply-To: <199711071842.UAA17890@greenpeace.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<somewhere> is IMVHO valid.
> 
> > > Surely there must be some less religiously offensive way?
> 
> Right. I'd go with /var/tmp/<portname>/ (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!
----------------------------+-----------------------------------------------







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971107125736.9991C-100000>