TMP/TEMP environment variable and /tmp
sten.kristian.ivarsson@gmail.com
sten.kristian.ivarsson@gmail.com
Wed Sep 16 08:51:43 GMT 2020
Dear folks
Does anyone know why cygwin annex the TMP (and TEMP) environment variable(s)
and sets them to /tmp for cygwin-built-applications (executables) ?
This results in that when you want the current users TMP-folder you end up
with the /tmp path. As a result,when writing to that, without having cygwin
installed (e.g. C:\cygwin64\), it seems like it refers to ${CWD}/../tmp/ and
that is not always accessible by all users
Does anyone know the rational with this behaviour and what can be done to
get hold of the (real) Windows TMP/TEMP environment-variable-values (in a
(hopefully) platform independent way) ?
Best regards,
Kristian
More information about the Cygwin
mailing list