delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/13/02:20:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: TMP and TEMP get redefined, but I need the original values
Date: Mon, 13 Jun 2011 08:19:34 +0200
Lines: 19
Message-ID: <it4a61$qf9$1@dough.gmane.org>
References: <4DF4FDAC DOT 8010809 AT web DOT de> <it365k$u0i$1 AT dough DOT gmane DOT org> <4DF52918 DOT 6050801 AT web DOT de>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/3.0.4
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

* Roland Bluethgen (Sun, 12 Jun 2011 23:01:12 +0200)
> Thorsten Kampe wrote:
> > If you want Linux TMP and Windows TMP point to the same directory then 
> > mount it in fstab or use $USERPROFILE/AppData/Local/Temp.
> 
> I shortened the story a bit, it's really more complicated. The TMP 
> definition in my case is user-crafted, not the default value which is 
> normally set up when a user is created in the Windows system.

TMP in Cygwin is "user-crafted"? TMP in Windows? TMP in your script?
 
> 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.

Thorsten


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