From owner-freebsd-bugs Mon Apr 15 10:45:20 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA13471 for bugs-outgoing; Mon, 15 Apr 1996 10:45:20 -0700 (PDT) Received: from mail02.mail.aol.com (mail02.mail.aol.com [152.163.172.66]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA13461 for ; Mon, 15 Apr 1996 10:45:14 -0700 (PDT) From: Hofera@aol.com Received: by mail02.mail.aol.com (8.6.12/8.6.12) id NAA26458 for freebsd-bugs@freebsd.org; Mon, 15 Apr 1996 13:44:43 -0400 Date: Mon, 15 Apr 1996 13:44:43 -0400 Message-ID: <960415134443_375853322@mail02.mail.aol.com> To: freebsd-bugs@freebsd.org Subject: Strange things happen... Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, all I recently converted from Linux to FreeBSD (because of too frequent disk crashes thatI had), so maybe the problem that I'm having is a silly one. Last weekend I compiled the Khoros 2.02 package for scientific data visualization and image processing and it was amazing how smooth such a huge package compiled. The .khoros_env user specific initialization file, which is also installed inthe run of this process, sets (among others) the environment variable TMPDIR to the value "/usr/tmp". This is done assuming that /usr/tmp is able to keep a large temporary data volume (at least larger than /tmp). BUT after TMPDIR is set to /usr/tmp, strange things happen. Programs that usually create some temporary files or directories, refuse to do that in /usr/tmp , for example the vi editor or the pkg_manage tool. Setting the permissions of /usr/tmp in a way so that everyone may do anything in /usr/tmp does not do the job, only resetting TMPDIR to /tmp helps. So, what is the reason why I (as dumb user, not as root!) may create a file in /usr/tmp but vi rejects this or is not granted to do so? I'm sure this must be a silly problem, but it drives me to insanity }:-[ Andreas Hofer (hofera@aol.com)