This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)

On 9 March 2011 10:33, Corinna Vinschen wrote:
> On Mar Â9 09:46, Andy Koppe wrote:
>> On 9 March 2011 09:26, Corinna Vinschen wrote:
>> > On Mar Â9 08:25, Andy Koppe wrote:
>> >> >> On Mar Â8 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. Â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?
>> I don't know, but the same questions could be asked about
>> /etc/profile.d/lang.{c,}sh.
> Good point. ÂHow important is the place of $TMP/$TEMP from a
> Windows perspective? ÂIt 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.)


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]