delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/01/09:27:40

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 1 Oct 2003 09:27:25 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: John Morrison <john AT morrison DOT mine DOT nu>
cc: cygwin AT cygwin DOT com
Subject: Re: home directory not created in cygwin installation
In-Reply-To: <Pine.LNX.4.58.0310010833370.2416@gateway.morrison>
Message-ID: <Pine.GSO.4.56.0310010922520.26607@slinky.cs.nyu.edu>
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20030930173957 DOT 00b0c940 AT pop500 DOT gsfc DOT nasa DOT gov>
<Pine DOT GSO DOT 4 DOT 56 DOT 0309301831320 DOT 26607 AT slinky DOT cs DOT nyu DOT edu>
<Pine DOT LNX DOT 4 DOT 58 DOT 0310010833370 DOT 2416 AT gateway DOT morrison>
Importance: Normal
MIME-Version: 1.0

On Wed, 1 Oct 2003, John Morrison wrote:

>
> On Tue, 30 Sep 2003, Igor Pechtchanski wrote:
> > On Tue, 30 Sep 2003, Ji-Wei Wu wrote:
> >
> > > I downloaded and installed the latest cygwin today on my computer.  I
> > > followed all defaults during installation (in c:\cygwin).  After that, I
> > > started a cygwin bash shell but found that it did not start in the
> > > /home/$USER directory ($USER means the user name I use to log onto my
> > > computer).  The actual directory is /sygdrive/c, which means the c: drive
> > > on my computer.  What went wrong in my installation and can anyone help me?
> > >
> > > Thanks.
> >
> > At a guess, your HOME is set incorrectly in Windows.
>
> Igor, think there's anything /etc/profile could do about this?
>
> J.

John,

This is thin ice...  On one hand, we want to make things work pretty
seamlessly.  On the other, we don't want to limit the more advanced users
by not letting them change the home directory on the fly (anyone doing
that, anyway?).  One "solution" I can see is to ignore the $HOME setting
completely, and always go by /etc/passwd.  I think this was discussed
before, but can't recall the details.  One caveat I see is that this would
require an existing (and valid) /etc/passwd, whereas nowadays it's
optional (with "nontsec" or in Win9x).  I don't know if this will daunt
the advanced users, but it's probably something to discuss.  Opinions?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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