On Wed, Nov 13, 2002 at 10:29:19AM -0800, Drew Tomlinson wrote:
> I've decided to try and wean myself off ee and move to vi.  I have two
> boxes, both running 4.7-RELEASE-p1.  On one, I tried the following
> logged on with normal user privileges:
> 
> blacklamb> vi practice
> ex/vi: Error: Unable to create temporary file: Permission denied
> 
> A google search on this error suggests that permissions are not set
> correctly on /var/tmp and /var/tmp/vi.recover so I check them and they
> appear to be OK.
> 
> blacklamb# ls -ld /var/tmp
> drwxrwxrwt  3 root  wheel  512 Nov 13 08:45 /var/tmp
> 
> blacklamb# ls -ld /var/tmp/vi.recover
> drwxrwxrwt  2 root  wheel  512 Nov 10 12:22 /var/tmp/vi.recover
> 
> So I check my other system and the permissions are the same, yet I can
> use vi logged on with normal privledges.  Any ideas on what is wrong
> here?
> 
> Thanks,
> 
> Drew

>From the vi manpage:
"directory, dir [environment variable TMPDIR, or /tmp]
       The directory where temporary files are created."

Try an `ls -l /` and check the mode of /tmp.....also try an
`echo $TMPDIR` and see if it is set, and if so, what it points to.

Nathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to