Subject: Re: ex/vi: Permission denied
To: Laurens Vets <laurens@daemon.be>
From: Rodrigo Fernandez-Vizarra <rodrigo@startdaemon.org>
List: port-cobalt
Date: 05/11/2004 12:27:27
Hi again,

good news.

Just to let you know that the /tmp should have also the sticky bit, even 
more if your system is a multiuser system.

chmod 1777 /tmp

will fixed it.

Regards,
Rodrigo

Laurens Vets wrote:

> Hi everybody,
>
> Fixed the problem, the permissions of /tmp were:
>
> drwxr-xr-x   2 root  wheel      512 May 11 00:36 tmp
>
> After chmod 777 /tmp, the problem was fixed.
>
> Is/was there a reason that /tmp wasn't chmod 777?  I installed from 
> the restore cd and didn't touch the permissions of /tmp at all
>
> Laurens
>
> Rodrigo Fernandez-Vizarra wrote:
>
>> Hi Laurens,
>>
>> is your filesystem mounted readonly?
>>
>> type this and then try to edit your file.
>>
>> mount -n -o *remount*,rw /
>>
>> Hope it helps,
>>
>> Rodrigo
>>
>> 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?
>>>
>>> Thanks in advance!
>>>
>>> Best regards,
>>> Laurens V.
>>>
>>>
>>
>>
>>
>
>
>