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 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: References: <4DF4FDAC DOT 8010809 AT web DOT de> <4DF52918 DOT 6050801 AT web DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/3.0.4 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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