Subject: Re: ex/vi: Permission denied
To: Chris Pinnock <cjep@fawlty.net>
From: Laurens Vets <laurens@daemon.be>
List: port-cobalt
Date: 05/10/2004 11:40:30
> 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
> /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:
# pwd
/var/tmp
# ls -l
total 2
drwxrwxrwt 2 root wheel 512 May 9 23:52 vi.recover
# pwd
/var
# ls -l
drwxrwxrwt 3 root wheel 512 May 10 02:21 tmp
So, they are correct.
Greetings,
Laurens