Subject: Re: ex/vi: Permission denied
To: Chris Pinnock <email@example.com>
From: Laurens Vets <firstname.lastname@example.org>
Date: 05/10/2004 11:40:30
> On Sun, May 09, 2004 at 10:58:19PM +0200, Laurens Vets wrote:
>>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
Nope, I'm not in single user mode. These are my permissions:
# ls -l
drwxrwxrwt 2 root wheel 512 May 9 23:52 vi.recover
# ls -l
drwxrwxrwt 3 root wheel 512 May 10 02:21 tmp
So, they are correct.