delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/19/13:51:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BF95478.2000008@dirsec.com>
Date: Mon, 19 Nov 2001 11:50:32 -0700
From: Garrett Anderson <garrett AT dirsec DOT com>
Organization: garretta,cin
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6) Gecko/20011117
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: RE: Setup Failed to Create /home directory (virtual cygwin root has changed)

Hello Cygwin --

I ran environ. test described below and received following:

DOS (via Win2k)

    Microsoft Windows 2000 [Version 5.00.2195]
    (C) Copyright 1985-2000 Microsoft Corp.

    C:\>echo %HOME%
    %HOME%


Cygwin Bash:

    garretta AT P233 ~
    $ echo $HOME
    /cygdrive/c

Again, this is not a config. change on my end but only occurred after 
recent cygwin module update.   I searched for "home" and "bash" together 
and found nothing obvious.    

I would expect a code change such as this to be documented for all 
(probably is somewhere).  

Pls help... -GA






>   RE: Setup Failed to Create /home directory
>
>     * /To/: <cygwin at cygwin dot com>
>     * /Subject/: RE: Setup Failed to Create /home directory
>     * /From/: "David Hawkins" <dwh at ovro dot caltech dot edu>
>     * /Date/: Mon, 12 Nov 2001 18:01:58 -0800
>
> ------------------------------------------------------------------------
>
>Try to see if this variable is set in Windows
>by opening a DOS console and typing
>
>echo %HOME%
>
>On my setup I get
>
>Cygwin bash:
>  echo $HOME
>  /home/dwh
>
>DOS console:
>  echo %HOME%
>  %HOME%
>
>i.e., there is no HOME enviroment variable setup,
>yet the Bash shell generates one within its
>environment space.
>
>If you happen to get
>
>DOS console
>  echo %HOME%
>  c:/
>
>then it would explain why you see /cygdrive/c
>under Bash.
>
>Dave
>
>
>
>> -----Original Message-----
>> From: Daniel Meier [mailto:dmeier AT crosstrust DOT com]
>> Sent: Monday, November 12, 2001 5:42 PM
>> To: David Hawkins
>> Subject: Re: Setup Failed to Create /home directory
>>
>>
>> echo $HOME
>> /cygdrive/c
>>
>> ----- Original Message -----
>> From: "David Hawkins" <dwh AT ovro DOT caltech DOT edu>
>> To: <dmeier AT tango DOT crosstrust DOT com>
>> Cc: <cygwin AT cygwin DOT com>
>> Sent: Monday, November 12, 2001 5:37 PM
>> Subject: RE: Setup Failed to Create /home directory
>>
>>
>> > I noticed that when HOME is setup as an environment
>> > variable, that /home/<user> does not get setup.
>> >
>> > Try echo $HOME from Cygwin Bash and see what happens.
>> > I found that when you remove the HOME environment vairable
>> > (as defined with Windows), then /home/<user> is created.
>> >
>> > I'm not to sure of the reasons for this observed
>> > functionality, but hey, here's something to try
>> > anyway. I'm sure others will reply with more
>> > wisdom.
>> >
>> > Dave
>> >
>> >
>> > > -----Original Message-----
>> > > From: cygwin-owner AT sources DOT redhat DOT com
>> > > [mailto:cygwin-owner AT sources DOT redhat DOT com]On <mailto:cygwin-owner AT sources DOT redhat DOT com%5DOn> Behalf Of
>> > > dmeier AT tango DOT crosstrust DOT com
>> > > Sent: Monday, November 12, 2001 5:06 PM
>> > > To: cygwin AT cygwin DOT com
>> > > Subject: Setup Failed to Create /home directory
>> > >
>> > >
>> > > 2001/11/09 09:11:06 Starting cygwin install, version 2.78.2.15
>> > >
>> > > I ran into a problem with my terminal (similar to :"WARNING: terminal
>> > > is not fully functional" and pro blems with vi" mail archive) so I
>> > > uninstalled and reinstalled cygwin. After the reinstall I still had
>> > > the problem described above, plus I didn't have a home directory or a
>> > > user directory (I'm sure the previous install created these for me).
>> > > Also, when I start cygwin from the shortcut (I'm on NT4) I end up in
>> > > the /cygdrive/c directory instead of somewhere down in
>> > > /cygdrive/c/cygwin... (where ... should be /home/meierd).
>> > >
>> > > I've reviewed my setup.log and setup.log.full but everything
>> > > looks normal there, no errors reported, but no log messages
>> > > indicating directories being created either).
>> > >
>> > >  I've partially solved the terminal problem (unset TERMINFO;
>> > > export TERM=cygwin) although I've got to fix it everytime I
>> > > launch a new cygwin window. I want to add the fix to my .profile
>> > > but I don't even have a user directory.
>> > >
>> > > I've seen some posts that indicate I may need to do 'adduser' or
>> > > 'useradd' or some such?
>> > >
>> > >  Is there another solution to the terminal problem (like fixing
>> > > the root cause for why it went sour)?
>> > >
>> > > My cygwin.bat file contains:
>> > > @echo off
>> > >
>> > > C:
>> > > chdir \cygwin\bin
>> > >
>> > > bash --login -i
>> > >
>> > > Any help?
>> > > Thanks.
>> > > Dan
>> > >
>



--
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