Mail Archives: cygwin/2009/11/26/10:59:07
On Nov 26 15:38, Matthias Andree wrote:
> Am 25.11.2009, 14:05 Uhr, schrieb Corinna Vinschen
> <corinna-cygwin AT cygwin DOT com>:
>
> >Hi folks,
> >
> >
> >I just uploaded a new Cygwin 1.7 test release, 1.7.0-66.
> >
> >If this doesn't introduce any new regressions, this will (probably)
> >be the last test release.
>
> Greetings,
>
> after having played with Cygwin 1.5 on XP SP3 for a long while, for
> so long that I forgot what I initially changed,
> I've now tried a fresh install of Cygwin on 1.7 (still with
> 1.7.0-65) on a fresh Windows 7 Professional 32-bit install.
>
> The one thing that got me wondering is that /etc/passwd uses
> /home/$LOGNAME (/home/hans for instance), rather than $USERPROFILE
> (/cygdrive/C/Users/hans), for the home directory.
>
> Is it intentional that Cygwin creates a second home for users?
Quote from the announcement for 1.7.0-46, back in May:
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.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -