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

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

Yep. Fingers crossed.


Problem reports:
Unsubscribe info:

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