X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DB3A3985803 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1600246309; bh=0kQ7zcbhfhr/kcP+n1YN9AqbysbobY1fxamYunQWqFg=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=LZrz7Rn9joSKGF95TBJX3s5i/PPHIbp9EIzmrFAGTKbRji33YeP5WUz+IF55tFOKY vq6bc9EPwX2CZS49FKo01pL/qMP3BXHZwLLHFM/BPdIxvadyyF6CHM7ovM73ygom3I HqVjPRy3SojZyZbnrmC9ktTbMBFZCdSzta9zXQ6k= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3669C384B0C0 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) 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 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Kristian Ivarsson via Cygwin Reply-To: sten DOT kristian DOT ivarsson AT gmail DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple