*BSD News Article 60271


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!usc!howland.reston.ans.net!EU.net!Austria.EU.net!siemens.at!pc2213.gud.siemens.co.at!not-for-mail
From: salb@pc2213.gud.siemens.co.at (Bernd Salbrechter)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: vi temp files?
Date: 22 Jan 1996 10:20:12 GMT
Organization: Siemens AG Austria
Lines: 20
Message-ID: <4dvocs$l40@news.siemens.at>
References: <4djbih$coj@huron.eel.ufl.edu> <4dk1l9$qjs@cynic.portal.ca>
NNTP-Posting-Host: pc2213.gud.siemens-austria

Curt Sampson (curt@portal.ca) wrote:
: In article <4djbih$coj@huron.eel.ufl.edu>,
: Mauricio Tavares <raub@kushana.aero.ufl.edu> wrote:
: >% vi *.conf
: >log db: Permission denied.
: >
: >I think vi is not being able to write to its temp files.  Are they 
: >created in /tmp as opposite to /usr/tmp?
: 
: Vi does need to be able to write to /tmp. Set the permissions on it
: properly.
: 
: cjs
: -- 
: Curt Sampson    curt@portal.ca		Info at http://www.portal.ca/
: Internet Portal Services, Inc.	
: Vancouver, BC   (604) 257-9400		De gustibus, aut bene aut nihil.

vi honores the environment variable TMPDIR, but dosen't fall back to /var/tmp
or /tmp if it couldn't access the temporary file.