Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 1996 13:44:43 -0400
From:      Hofera@aol.com
To:        freebsd-bugs@freebsd.org
Subject:   Strange things happen...
Message-ID:  <960415134443_375853322@mail02.mail.aol.com>

next in thread | raw e-mail | index | archive | help
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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?960415134443_375853322>