Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 18:13:00 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.ORG>
To:        Mike Barcroft <mike@FreeBSD.ORG>
Cc:        Jeroen Ruigrok/asmodai <asmodai@wxs.nl>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/share/man/man7 tuning.7
Message-ID:  <20020528151259.GG5726@hades.hell.gr>
In-Reply-To: <20020528035619.D93657@espresso.q9media.com>
References:  <200205280603.g4S63pY24227@freefall.freebsd.org> <20020528032419.C93657@espresso.q9media.com> <20020528073943.GD77228@daemon.ninth-circle.org> <20020528035619.D93657@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-05-28 03:56, Mike Barcroft wrote:
> Jeroen Ruigrok/asmodai <asmodai@wxs.nl> writes:
> > -On [20020528 09:30], Mike Barcroft (mike@FreeBSD.org) wrote:
> > >If anything, you should change vi not to store semi-permanent data in
> > >a temporary directory.  You almost never want to have a temporary
> > >directory hanging off a more important partition like / or /var, since
> > >users could attack a system by filling /tmp or /var/tmp.  Having
> > >multiple temporary partitions is also a nuisance, so I usually
> > >symbolicly link all mine together.
> >
> > Well, it would not just be vi that needs to be changed.  It affects more
> > programs.
>
> I'm only aware of vi; what other software relies on a permanent
> temporary directory?  In the case of vi, I think ~/.vi/ would be a far
> more suitable location for recoverable files.

That depends.  On systems where quotas are enabled, users are limited
in the size of the files they can edit in approximately half the
quotas they've been given if recover files from nvi(1) are saved in
~/.vi or in the current working directory (as vim(1) does right now).

I seem to prefer the way nvi works, but my personal preference is not
very important.  What do the standards say about /var/tmp?

-- 
Giorgos Keramidas    - http://www.FreeBSD.org
keramida@FreeBSD.org - The Power to Serve

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




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