Subject: Re: vivivi, the editor of the beast
To: None <netbsd-help@NetBSD.ORG, hacksaw@venus.gsd.harvard.edu>
From: Darcy L. Watkins [4534] <dwatkins@glenayre.com>
List: netbsd-help
Date: 04/23/1996 15:21:03
> So why do I get this message:
> 
> hacksaw:/usr/user/hacksaw:{108} vi
> Error: Temporary file: Permission denied.
> 
> hacksaw:/usr/user/hacksaw:{109} vi .cshrc
> log db: Permission denied.
> 
> To add to the confusion:
> 
> hacksaw:/usr/user/hacksaw:{110} cd /var
> hacksaw:/var:{111} ls -al
> total 36
> drwxrwxrwx  18 root   wheel      512 Nov 24 05:25 .
> drwxrwxr-x  16 234    125        512 Oct 14  1995 ..
> .
> .
> .
> drwxrwxr-x   4 root   wheel      512 Apr 23 00:44 db
> .
> .
> .
> drwxr-xr-x   2 root   wheel      512 Nov 24 05:25 preserve
> .
> .
> .
> drwxrwxrwt   3 root   wheel      512 Apr 23 00:20 tmp
> 
> (preserve's permission reflect those deleted for clarity)
> 

Check the permissions on other "tmp" directories such as
   /tmp
   /usr/tmp
   /usr/local/tmp  (if such a thing exists).

I had to fiddle with a few of these to get vi working for users other than
"root".


Hope this helps,

Darcy

------------------------------------------------------------
Darcy L. Watkins                email: dwatkins@glenayre.com
Senior Software Designer        phone: (604) 293-1611 [4534]
Glenayre R&D, Inc.              fax:   (604) 293-4317
1570 Kootenay Street,
Vancouver B.C. Canada V5K 5B8   home:  watkins@cyberstore.ca
                   http://www.glenayre.com
         http://www2.portal.ca/~tyjcom/usr/dwatkins
------------------------------------------------------------