X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 8 Mar 2011 14:48:03 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67) Message-ID: <20110308134803.GA1050@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4B14573C DOT 3040409 AT alice DOT it> <20091201091515 DOT GC30043 AT calimero DOT vinschen DOT de> <4D755880 DOT 2040800 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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. I agree. Setting TMP and TEMP to /tmp by default in /etc/profile should make Cgwin and native apps happy, shouldn't it? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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