Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: Benoit Rochefort <Benoit.Rochefort@gerad.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Message-ID: <15456.20660.703738.929461@montreal.crt.umontreal.ca>
Date: Tue, 5 Feb 2002 16:37:56 -0500 (EST)
To: "Michael A Chase" <mchase@ix.netcom.com>
Cc: "Benoit Rochefort" <Benoit.Rochefort@gerad.ca>,
   "Cygwin@Cygwin. Com" <cygwin@cygwin.com>
Subject: Re: $HOME Directory Relocation
In-Reply-To: <054201c1ae8b$c750e820$0d00a8c0@mchasecompaq>
References: <EIEOJCAKMFMIKEMJNANGIEGJCEAA.LaurenceWood@SunyataSystems.Com>
	<15456.19079.804940.878644@montreal.crt.umontreal.ca>
	<054201c1ae8b$c750e820$0d00a8c0@mchasecompaq>
X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid
X-Face: C!5Mk_!qB]35}VpD|H>GN/@fk%~7:*/x8&~\]|r|)/zV?rJ){uX4Nh`a$L/z__Kx4Gt!mDU
 3kZlj)F2]Ds$?l';SO9]v^|[i2nY`pZ+mu+HT%5ITkuP#e]@8F4@Hc.=]oN1+d\M@Rl>-$C?h$yntf
 -JVx)3L2}VzG.!bQEy]~I_3fup`HtZ^t/Iz.|Vh$~o`^g\
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g15LcL212635

Michael A Chase writes:
| ----- Original Message -----
| From: "Benoit Rochefort" <Benoit.Rochefort@gerad.ca>
| To: "Laurence F. Wood" <LaurenceWood@sunyatasystems.com>
| Cc: "Cygwin@Cygwin. Com" <cygwin@cygwin.com>
| Sent: Tuesday, February 05, 2002 13:11
| Subject: Re: $HOME Directory Relocation
| 
| 
| > Since no login occurs, place it in your batch file calling bash, or in
| > /etc/profile like I do. Here is my /etc/profile that correct many such
| > environment variable problems I found over the time:
| 
| The problem with setting HOME to a fixed value in cygwin.bat or /etc/profile
| is that limits your cygwin installation to a single user.  That's why the
| default /etc/profile allows $HOME to be passed through from the user's
| Windows environment.

That's exactly why I keep one "general" shortcut to cygwin and many
"specific" special shortcuts for "special" users (that's almost for testing
purpose and to be able to "emulate" another user uses that I have control
over; many of them have SAMBA mounted file system homes and by configuring
SAMBA correctly, I may read/write in there with correct permissions/uid/gid).

You can also change the line that sets HOME in my /etc/profile to the
following to get more flexibility:

: ${HOME=:"/home/$USER"}

| 
| --
| Mac :})
| ** I normally forward private questions to the appropriate mail list. **
| Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm
| Give a hobbit a fish and he eats fish for a day.
| Give a hobbit a ring and he eats fish for an age.
| 
| 
| 
| --
| Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
| Bug reporting:         http://cygwin.com/bugs.html
| Documentation:         http://cygwin.com/docs.html
| FAQ:                   http://cygwin.com/faq/
| 
| 

-- 
           *º¤., ¸¸,.¤º*¨¨¨*¤  Benoit Rochefort  *º¤., ¸¸,.¤º*¨¨¨*¤

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

