X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20110308134803.GA1050@calimero.vinschen.de>
References: <4B14573C.3040409@alice.it>	<a13b5a590911301753w74ccf298g669e55fc58d36c50@mail.gmail.com>	<20091201091515.GC30043@calimero.vinschen.de>	<AANLkTimtUQV5LCymquHFe115JL4S9Ld-GUgdLJbetan8@mail.gmail.com>	<4D755880.2040800@cornell.edu>	<AANLkTinj1pnTqkhSVh-inmozn6X29Ark7F8V2bTjTnFF@mail.gmail.com>	<AANLkTi=g=ja-jOm2nM3CsBSs-GANn3o-J_y++c9-mGJ-@mail.gmail.com>	<AANLkTik7FAijnJi11Y4tPz+s3qh_iySSUAgfRfQfx_uH@mail.gmail.com>	<20110308134803.GA1050@calimero.vinschen.de>
Date: Tue, 8 Mar 2011 15:03:11 +0000
Message-ID: <AANLkTikbwKdtVsbboGVxwrRycx+LjvsYTcGDogzwm82d@mail.gmail.com>
Subject: Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> On Mar =C2=A08 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. =C2=A0I realize I could write wrapper script=
s 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.

On 8 March 2011 13:48, Corinna Vinschen wrote:
> I agree. =C2=A0Setting TMP and TEMP to /tmp by default in /etc/profile
> should make Cgwin and native apps happy, shouldn't it?

Yep. Fingers crossed.

Andy

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

