delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/14/14:36:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=IvdgAg2N8IJIle9X
G1fa4OgHJoXa7UuDH3a22XVXOn5+Dh3H3TVdO9Jhk9oAKcIFZzNHj62n5tloAzeQ
r22wjSqMIf1omar/efnvodEnAL5UMmL7eAb45ChKziqv8Wp0792Ks36rPOju7l0W
VXX7jasKgOS2QmcPCYcJYDUW3CM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=j+bVznb8Y275ARbdOEfy5Z
GGaz8=; b=sf4tixs3SUkvvr1VwjkOzM4qlucKw4xJ3qLGpigpztgvrY6l94Yb7E
ADbwiV+o1HIaZRtmU3KNvoqZshZjp/zsM6EvhbHHk+F2npblazOA7T+lbbUgNvAL
eG6BDQ8QouVywZiZbk3XOWtLD2zK5MgucuetMY76TSz2Un8rtYDi0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Sat, 14 Feb 2015 22:21:27 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <767189166.20150214222127@yandex.ru>
To: Thomas Wolff <towo AT towo DOT net>, cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1
In-Reply-To: <54DF0337.7090405@towo.net>
References: <announce DOT 20150212202323 DOT GI7818 AT calimero DOT vinschen DOT de> <74410B36-A057-483B-AAA3-20C15934374E AT Denis-Excoffier DOT org> <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B AT etr-usa DOT com> <A2F3E911-AA9A-4CFD-ACA7-9C5269339F92 AT Denis-Excoffier DOT org> <646732991 DOT 20150214022454 AT yandex DOT ru> <54DF0337 DOT 7090405 AT towo DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Thomas Wolff!

> Am 14.02.2015 um 00:24 schrieb Andrey Repin:
>>> ...
>> I have a feeling that you have %HOME% defined before mintty starts.
>> I just made some tests, and it seems to be the showstopper.
>> If %HOME% is already set, nsswitch.conf:db_home is ineffective.
>> Simple check for
>>
>>      SET HOME=
>>      mintty -
> I think setting HOME globally, before starting cygwin, is the most 
> straightforward way to configure one's home directory preference and 
> should thus be supported.

Supported, allright.
The issue seems to be contradiction between documented and observed behavior
of a specific macro. (Or specific part of the Cygwin, to that extent.)
Setting global %HOME% to %HOMEDRIVE%%HOMEPATH% is a natural choice, but Denis
seems to want a deviation of it for Cygwin specifically.

By the way,
getent passwd %USERNAME%
return homedir correctly, but bash insist on using existing HOME even if
started as login shell.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 14.02.2015, <21:23>

Sorry for my terrible english...


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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019