From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by sourceware.org (Postfix) with ESMTPS id 3669C384B0C0 for ; Wed, 16 Sep 2020 08:51:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3669C384B0C0 Received: by mail-lj1-x22e.google.com with SMTP id b19so5209523lji.11 for ; Wed, 16 Sep 2020 01:51:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=RJ6ZjL63eavL59fQY80E+iI3kQUQtu0+0yfnBEFV18g=; b=XPfexqVI70RUpGP+iHdj/GUixQ9M81fcGSqM+vbVcoATgjDkD68TlFAGgiygDFAe9g 4gQaBs0HIzCD/RMaFXJhwtDsxB+cSz0Y4i5UG0sPB1YR5S544Nl8WuupMx4VAUfpamUQ CoR2mV3cc2GvZziONS/HP3KEFa5T81GfnvjXhChW7oEUScIG0ci2UsAnJzonAZD9hwwG PCsLbepkb6S6JysuOgCuIoTbPrkUFCpPQcWHWoKFuELbVNUlNaAe41CgrbXRR/P7CxCc jdM6bt2fMsjqwlbQ+TuCHxrHRSVCbgIJnNKWxmSTTzqpL3M9p3rh9hKSUdbPsYoIqBix fCRA== X-Gm-Message-State: AOAM5307AFfTWGgzcLKLtH8/TdbFfPsKWkdWS7zlvOpHm5x4BsMszgof kbIGlGPoyj/zNZAauJVxRA+1SCpHpyo= X-Google-Smtp-Source: ABdhPJzaMUD/aRWd/pkRs99TxS8RriDUnOwpGM0XdSMEzYV1e3YvcRac5CP0ICKlDuu6hF6b4Izz/Q== X-Received: by 2002:a2e:7307:: with SMTP id o7mr7874566ljc.323.1600246304907; Wed, 16 Sep 2020 01:51:44 -0700 (PDT) Received: from JOKK (87-249-176-245.ljusnet.se. [87.249.176.245]) by smtp.gmail.com with ESMTPSA id u5sm4800361lfq.17.2020.09.16.01.51.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2020 01:51:44 -0700 (PDT) From: To: Subject: TMP/TEMP environment variable and /tmp Date: Wed, 16 Sep 2020 10:51:43 +0200 Message-ID: <025401d68c06$9a89e8b0$cf9dba10$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdaMBQ28E/vsGwJaS5iGuAEmYjIFRA== Content-Language: en-gb X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2020 08:51:47 -0000 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