This is the mail archive of the
mailing list for the Cygwin project.
Re: home directory not created in cygwin installation
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: John Morrison <john at morrison dot mine dot nu>
- Cc: cygwin at cygwin dot com
- Date: Wed, 1 Oct 2003 09:27:25 -0400 (EDT)
- Subject: Re: home directory not created in cygwin installation
- References: <email@example.com><Pine.GSO.firstname.lastname@example.org><Pine.LNX.email@example.com>
- Reply-to: cygwin at cygwin dot com
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?
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?
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.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