delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/13/19:52:32

X-Spam-Check-By: sourceware.org
Message-ID: <974f412a0610131652v53912083k450a56e2926be66d@mail.gmail.com>
Date: Fri, 13 Oct 2006 19:52:15 -0400
From: "Tim Largy" <tim DOT largy AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: What happens the first time BASH is run?
In-Reply-To: <974f412a0610131632r6fff91d8w7816d84b7108e08e@mail.gmail.com>
MIME-Version: 1.0
References: <974f412a0610131632r6fff91d8w7816d84b7108e08e AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 10/13/06, Tim Largy <tim DOT largy AT gmail DOT com> wrote:
> When running BASH for the first time after installing Cygwin, the
> user's home directory is created, and .bashrc and other dotfiles are
> copied into it. Where is this behavior controlled? Is it compiled into
> BASH? If that is the case, what other scripts does BASH call upon to
> set up the user's home directory?
>
> Tim
>

Answering my own question: the existence check for the  home
directory, as well as it's creation, takes place in /etc/profile. How
I forgot this I do not know as I spotted it yesterday.

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