X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 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 Date: Fri, 11 Mar 2011 20:36:48 +0100 From: David Sastre 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: <20110311193648.GA11715@jethro.local.lan> 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> <4D77D524 DOT 80401 AT towo DOT net> <20110310091708 DOT GV12899 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <20110310091708.GV12899@calimero.vinschen.de> User-Agent: Mutt/1.5.20 (2009-06-14) 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 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 10, 2011 at 10:17:08AM +0100, Corinna Vinschen wrote: > On Mar 9 20:29, Thomas Wolff wrote: > > Am 09.03.2011 10:26, schrieb Corinna Vinschen: > > >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? > > For example if cygwin is still installed on a FAT drive (I know ...) > > it may be useful (for all users) to switch /tmp to an NTFS directory > > (e.g. XWin used to fail with a FAT /tmp for a while). >=20 > If you really do this, you're doing something wrong in my opinion. > But, point taken. >=20 > David, any problem to create tmp.sh and tmp.csh in profile.d for this > purpose? >=20 > Anyway, after that change it's really time to start using the new > base-files package. It's pending already too long, IMHO. I've been thinking about this, and I'd rather keep TMP/TEMP set to /tmp in /etc/profile. This is mainly because the code that sets HOME could need TMP to be already set under some circumstances, and the function=20 that sources the scripts under /etc/profile.d is only called after that has happened (as it is currently written). I prefer to supress that flexibility, release base-files-4.0-4, and have it tested widely, so people can hunt me down for breaking their ENVs :D --=20 Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk16edAACgkQYX05bESLMeshzwCZAVi6L3lI5+9Z3wVSyz0nCtmI Q3oAniIiAbMHya8c6jiVv1RvFhYD5yZC =dIDE -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--