delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/06/17:30:10

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:mime-version:content-type
:content-transfer-encoding:message-id:date:to:subject:reply-to;
q=dns; s=default; b=x9bmReJ7KjpWAISrlJam2mwSsFrvahfPE1ZcEyW6d+g
8nYdbDuX4CAczp4w1yFHfshhOFGV+YapMvxqSc36md81EX+1QQm4LjJJ9KaC9ZrK
zLaWk/Sp7tknW+rWac1CCJogBennMCueo1gMSeMJOgkSwUzPEiz02zvHc0LL1LL8
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:mime-version:content-type
:content-transfer-encoding:message-id:date:to:subject:reply-to;
s=default; bh=qyBc6moCpGOIMtGCr0QKkJC7Pzs=; b=TMmmVfyxbqVyL5/S2
gsUNNq+zl2jNiZH9pqY2AVso3uGDtMVpLJ+PsctSpWE9KGCKfojrCmawMK9deJ49
uJmjQJe1HsVWX58mex1XahWDk2S0TrZCgMVaH5a3hUi1THIGpX1U6Xl1QJD2K2tL
XNH2+kzKaCK+gbPNFIYuKUU544=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mout.web.de
From: Reinhard Kotucha <reinhard DOT kotucha AT web DOT de>
MIME-Version: 1.0
Message-ID: <21754.10842.551067.251606@zaphod.ms25.net>
Date: Fri, 6 Mar 2015 23:29:46 +0100
To: cygwin AT cygwin DOT com
Subject: directories for temporary files
Reply-to: reinhard DOT kotucha AT web DOT de
X-UI-Out-Filterresults: notjunk:1;

Hi,
first of all, thanks to everyone involved in cygwin development.

However, there is a bug in /etc/profile.  The variables TMP and TEMP
are set to /tmp but they are absolutely useless.  These variables are
not used by any program.  Thus all programs write temporary files to
/tmp, regardless of the settings TMP or TEMP.

The appropriate variable on Unix is TMPDIR.  It's recognized by
programs on *all* Unix systems.

You can confirm this easily.  Create a directory /tmp/foo and set
TMPDIR=/tmp/foo.  You'll see that all temporary files go to the
specified directory then.  No chance with TMP or TEMP.

Regards,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard DOT kotucha AT web DOT de
------------------------------------------------------------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019