delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/09/14:30:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4D77D524.80401@towo.net>
Date: Wed, 09 Mar 2011 20:29:40 +0100
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)
References: <a13b5a590911301753w74ccf298g669e55fc58d36c50 AT mail DOT gmail DOT com> <20091201091515 DOT GC30043 AT calimero DOT vinschen DOT de> <AANLkTimtUQV5LCymquHFe115JL4S9Ld-GUgdLJbetan8 AT mail DOT gmail DOT com> <4D755880 DOT 2040800 AT cornell DOT edu> <AANLkTinj1pnTqkhSVh-inmozn6X29Ark7F8V2bTjTnFF AT mail DOT gmail DOT com> <AANLkTi=g=ja-jOm2nM3CsBSs-GANn3o-J_y++c9-mGJ- AT mail DOT gmail DOT com> <AANLkTik7FAijnJi11Y4tPz+s3qh_iySSUAgfRfQfx_uH AT mail DOT gmail DOT com> <20110308134803 DOT GA1050 AT calimero DOT vinschen DOT de> <AANLkTikbwKdtVsbboGVxwrRycx+LjvsYTcGDogzwm82d AT mail DOT gmail DOT com> <AANLkTik9djXZphzQX+mAJ1oRw4ujeoqx3K7faFX4F29S AT mail DOT gmail DOT com> <20110309092648 DOT GM12899 AT calimero DOT vinschen DOT de>
In-Reply-To: <20110309092648.GM12899@calimero.vinschen.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

Am 09.03.2011 10:26, schrieb Corinna Vinschen:
> On Mar  9 08:25, Andy Koppe wrote:
>> On 8 March 2011 15:03, Andy Koppe wrote:
>>>> On Mar  8 13:49, David Sastre wrote:
>>>>> 2011/3/8, Chris Sutcliffe wrote:
>>>>>> FWIW, I'd prefer to keep the unsetting of TEMP/TMP in ~/.bashrc (i.e.
>>>>>> based on user preference) vs. /etc/profile, since I have multiple
>>>>>> accounts on one of my machines and with my 'work' account, if I
>>>>>> cygstart several different native Windows apps without TEMP/TMP being
>>>>>> set they don't play nice.  I realize I could write wrapper scripts as
>>>>>> per Angelo's suggestion, but I'd prefer not to.
>>>>>>
>>>>>> As the old adage goes, if it ain't broke, don't fix it...
>>>>> As discussed in the ITA thread, one of the goals of base-files-4.0 is
>>>>> not relying
>>>>> in users' config files at all regarding any item that needs to be
>>>>> defined (or undefined :)
>>>>> So if TMP/TEMP has to be unset, or set to /tmp per default, or any
>>>>> other default
>>>>> decided here, that is something to be done in /etc/profile, IMHO.
>>> Fair point. That avoids the situation where users with existing home
>>> directories don't get a change.
>> One more thought on this: LANG is set to C.UTF-8 in
>> /etc/profile.d/lang.{c,}sh, which allows users to change or delete
>> that without stopping /etc/profile from being updated. This approach
>> might be appropriate here as well.
> That's certainly feasible in some way, but I don't understand what
> you're trying to accomplish.  In what situation would this have to be
> changed on a per-system level?  Why isn't it sufficient that the
> user can change it in the own user profiles?
For example if cygwin is still installed on a FAT drive (I know ...) it 
may be useful (for all users) to switch /tmp to an NTFS directory (e.g. 
XWin used to fail with a FAT /tmp for a while).

Thomas

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