Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 1999 07:19:41 -0800 (PST)
From:      Mike Meyer <mwm@phone.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: why does /tmp world writable?
Message-ID:  <Pine.BSF.4.05.9902010714490.8535-100000@guru.phone.net>
In-Reply-To: <Pine.BSF.3.96.990201160146.12625B-100000@turkey.ispro.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
If you're worried about it, you could always put /tmp on a file system
with quotas on it. But you have the same problem on the file system
that peoples home directories are on - some non-root person can fill
it, and cause everything else to fail. You solve those the same way -
with quotas.

Personally, having run systems for a couple of decades at large
institution both public and private, this isn't really much of a
problem The users id is all over the files causing the problems - you
delete the file, killing their processes if required, and send them a
sharply worded note about proper behavior.

	<mike

On Mon, 1 Feb 1999, Evren Yurtesen wrote:

> Date: Mon, 1 Feb 1999 16:02:29 +0200 (EET)
> From: Evren Yurtesen <yurtesen@turkey.ispro.net.tr>
> To: Jasper O'Malley <jooji@webnology.com>
> Cc: freebsd-questions@FreeBSD.ORG
> Subject: Re: why does /tmp world writable?
> 
> what if some non-root person crashes a process by filling up
> /tmp directory? and when that proceses needs that directory
> it will not be able to use it.
> 
> On Mon, 1 Feb 1999, Jasper O'Malley wrote:
> 
> > On Mon, 1 Feb 1999, Evren Yurtesen wrote:
> > 
> > > programs could have been using $HOME/temp
> > > or something like that...
> > > would not it be more appropriate?
> > 
> > What about non-root system processes? What about people who have already
> > exceeded the quota on their home filesystem and need a place to
> > temporarily move stuff while they clean it out?
> > 
> > Cheers,
> > Mick
> > 
> > The Reverend Jasper P. O'Malley          dotdot:jooji@webnology.com
> >     Systems Administrator                  ringring:asktheadmiral
> > 	Webnology, LLC               woowoo:http://www.webnology.com/~jooji
> > 
> > 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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