delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/05/16:38:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Benoit Rochefort <Benoit DOT Rochefort AT gerad DOT ca>
MIME-Version: 1.0
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 AT ix DOT netcom DOT com>
Cc: "Benoit Rochefort" <Benoit DOT Rochefort AT gerad DOT ca>,
"Cygwin AT Cygwin. Com" <cygwin AT cygwin DOT com>
Subject: Re: $HOME Directory Relocation
In-Reply-To: <054201c1ae8b$c750e820$0d00a8c0@mchasecompaq>
References: <EIEOJCAKMFMIKEMJNANGIEGJCEAA DOT LaurenceWood AT SunyataSystems DOT Com>
<15456 DOT 19079 DOT 804940 DOT 878644 AT montreal DOT crt DOT umontreal DOT ca>
<054201c1ae8b$c750e820$0d00a8c0 AT 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 AT Hc.=]oN1+d\M AT Rl>-$C?h$yntf
-JVx)3L2}VzG.!bQEy]~I_3fup`HtZ^t/Iz.|Vh$~o`^g\
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g15LcL212635

Michael A Chase writes:
| ----- Original Message -----
| From: "Benoit Rochefort" <Benoit DOT Rochefort AT gerad DOT ca>
| To: "Laurence F. Wood" <LaurenceWood AT sunyatasystems DOT com>
| Cc: "Cygwin AT Cygwin. Com" <cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019