This is the mail archive of the
mailing list for the Cygwin project.
Re: base-files (was: [1.7] Updated: cygwin-1.7.0-47)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 6 May 2009 16:33:00 +0200
- Subject: Re: base-files (was: [1.7] Updated: cygwin-1.7.0-47)
- References: <20090506132520.GL21324@calimero.vinschen.de> <firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On May 6 14:54, John Morrison wrote:
> On Wed, May 6, 2009 2:25 pm, Corinna Vinschen wrote:
> > I just uploaded a new Cygwin 1.7 test release, 1.7.0-47.
> > What's new in contrast to 1.7.0-46
> > ===================================
> > - Never use HOMEDRIVE/HOMEPATH to construct a default home directory for
> > the current user. The mechanism to evaluate the pathname is now:
> > - If $HOME is already set in the envirnment, use it.
> > - Otherwise, if /etc/passwd contains a non-empty homedir for the
> > current user, use it.
> > - Otherwise, default to /home/<USERNAME>.
> > This circumvents a few installation problems and decouples the Cygwin
> > homedir by default from the Windows profile directory, which
> > especially starting with Vista results in performance problems due to
> > the new Explorer behaviour concerning "shared" files. If you want to
> > use the Windows profile dir as home dir, set $HOME or tweak your
> > /etc/passwd entry accordingly.
> I'll change /etc/profile to reflect the above text.
> Could this result in situations where the skel files arn't copied?
Yes, that was one of the reasons I changed it. The old way to eval the
user's HOME dir could result in the skel files not being created because
the HOME directory already existed. The non-existance of HOME triggers
writing the skel files. Now the skel files typically are created
because /home/$USER doesn't exist when bash is started the first time.
> > - Set umask to 0022 by default, rather than to 0000.
> /etc/profile has a line
> umask 022
> do you want me to remove/modify it?
Keep it in. It doesn't hurt and it's the right place to change
the umask if the admin wants another value.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html