delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/13/10:16:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4DF61B89.8060505@web.de>
Date: Mon, 13 Jun 2011 16:15:37 +0200
From: Roland Bluethgen <calocybe AT web DOT de>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: TMP and TEMP get redefined, but I need the original values
References: <4DF4FDAC DOT 8010809 AT web DOT de> <it365k$u0i$1 AT dough DOT gmane DOT org> <4DF52918 DOT 6050801 AT web DOT de> <it4a61$qf9$1 AT dough DOT gmane DOT org>
In-Reply-To: <it4a61$qf9$1@dough.gmane.org>
X-Sender: calocybe AT web DOT de
X-IsSubscribed: yes
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

Thorsten Kampe wrote:
> * Roland Bluethgen (Sun, 12 Jun 2011 23:01:12 +0200)
> 
> TMP in Cygwin is "user-crafted"? TMP in Windows? TMP in your script?

TMP in Windows.


>> Also, this approach would defeat the intended purpose of the 
>> redefinition of TMP (avoiding permissions screwup). Or am I missing 
>> something here?
> 
> If you're the only Cygwin user on your machine, this is a reasonable 
> way. Otherwise not.

You mean, the permissions problem only surfaces on machines, where 
multiple users use the same cygwin install? Ok, I'll consider that.

For now I resorted to copying the TEMP value to WINDOWS_TEMP on the 
native Windows side already, and then refer to that backup from the 
script in question.


--
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