Subject: Re: ex/vi: Permission denied
To: Laurens Vets <>
From: Chris Pinnock <>
List: port-cobalt
Date: 05/10/2004 09:20:13
On Sun, May 09, 2004 at 10:58:19PM +0200, Laurens Vets wrote:
> Hi all,
> I've just installed NetBSD on my qube with the help of the NetBSD 
> restore cd.  I've added a user, but everytime I want to edit a file with 
> vi as that user, I got the error message: "ex/vi: Error: Unable to 
> create temporary file: Permission denied".
> I don't think this is normal behaviour, but has anybody also had this 
> problem with the restore cd?  And how do I fix this error?

Are you in single user mode? If not:

What are the permissions on /var/tmp?  On my system:

drwxrwxrwt   3 root    wheel       512 May  7 13:31 /var/tmp
total 2
drwxrwxrwt  2 root  wheel  512 May  8 13:14 vi.recover

HTH, Chris