Clint Adams <[EMAIL PROTECTED]> writes:
> Are you suggesting that mktemp and tempfile do something other than fail
> if TMPDIR is not writable? If so, what?
Yes. tempfile(1) specifically states
The directory to place the file is searched for in the following order:
a) The directory specified by the environment variable TMPDIR, if
it is writable.
b) The directory specified by the --directory argument, if given.
c) The directory /tmp.
which I interpret to mean that if TMPDIR is *not* writable, it should
ignore the variable's setting and honor the --directory argument if
given, and fall back to /tmp if it must. I'd favor similar semantics
for mktemp.
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger [EMAIL PROTECTED] (NOT a valid e-mail address) for more info.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]