X-Recipient: archive-cygwin AT delorie DOT 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: <20110309103359.GO12899@calimero.vinschen.de> References: <4D755880 DOT 2040800 AT cornell DOT edu> <20110308134803 DOT GA1050 AT calimero DOT vinschen DOT de> <20110309092648 DOT GM12899 AT calimero DOT vinschen DOT de> <20110309103359 DOT GO12899 AT calimero DOT vinschen DOT de> Date: Wed, 9 Mar 2011 11:01:13 +0000 Message-ID: Subject: Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67) From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 9 March 2011 10:33, Corinna Vinschen wrote: > On Mar =C2=A09 09:46, Andy Koppe wrote: >> On 9 March 2011 09:26, Corinna Vinschen wrote: >> > On Mar =C2=A09 08:25, Andy Koppe wrote: >> >> >> On Mar =C2=A08 13:49, David Sastre wrote: >> >> >>> 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. >> >> >> >> 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. =C2=A0In what situation would this have t= o be >> > changed on a per-system level? =C2=A0Why isn't it sufficient that the >> > user can change it in the own user profiles? >> >> I don't know, but the same questions could be asked about >> /etc/profile.d/lang.{c,}sh. > > Good point. =C2=A0How important is the place of $TMP/$TEMP from a > Windows perspective? =C2=A0It must be set for some apps, ok, but > how important are the actual whereabouts? Compatibility moves in mysterious ways. ;) One possible source of trouble I can think of is that the default temp directory is user-specfic, whereas /tmp is shared, which introduces scope for conflicts. Someone might also want to leave TMP/TEMP set to the Windows default for testing purposes, for example because the default path is likely to be quite long and contain funny characters, whereas C:\cygwin\tmp is nice and easy. (But setting them to /tmp still seems a reasonable compromise to me.) 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