delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/08/13:22:04

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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=xFNo0KHiSsBHgHvS
24rOjcCKOtCCSauMZgTJh2KdvUp8P6L2Y3MiAvrjU7l94NqfsixfovIfXyRsyBvI
IYnRmM2IeOyf4Hudh4k5DBcQ3NHd92Fu2RPYOif46/G/ftLhmHYsA5czSmSXMDUM
Nr+pYF4WfotETiA8SA51J7mnWn4=
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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=fIjyrHV8A6xhB3FdBBt3IQ
F1Ktg=; b=wGSwKut6jcaC/XmQ04EcxwS0GEszyOMirin6bwaFSjQD+kmuYJKCXO
I1g/MRbtH79R09h0WMRNLhZZ5JkdupszxwjrqGTS1F+Qiqhvdq4w9D+LTl7BzIbI
A2B6fumtdLHf+D6P+vzIpHdOTyBwxoQZgqBSvF+mj8xNaOmKFrleg=
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
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1
Message-id: <51DAF51F.5080705@cygwin.com>
Date: Mon, 08 Jul 2013 13:21:35 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Home directory issue
References: <Pine DOT BSO DOT 4 DOT 53 DOT 1307021841380 DOT 11994 AT Mail DOT omnitec DOT net> <51DAD616 DOT 7010407 AT cygwin DOT com> <alpine DOT DEB DOT 2 DOT 02 DOT 1307080903010 DOT 3591 AT enira DOT zlyna DOT ubzr>
In-reply-to: <alpine.DEB.2.02.1307080903010.3591@enira.zlyna.ubzr>
Note-from-DJ: This may be spam

On 7/8/2013 12:17 PM, Alan W. Irwin wrote:
> On 2013-07-08 11:09-0400 Larry Hall (Cygwin) wrote:
>
>> On 7/2/2013 7:50 PM, L. V. Lammert wrote:
>>> After installing Cygwin on a new system that is in a domain, there is
>>> something that is breaking with user setup.
>>>
>>>   * The user home directory is not getting created
>>>   * /usr/loca/bin & /usr/bin are not prepended to PATH
>>>   * The user home directory is/cygdrive/Users/<user>,
>>>      instead of/home/<user>
>>>   * The path IS correct in/etc/passwd (/home/<user>)
>>
>> <snip>
>>
>> Is the HOME environment variable set in your Windows environment?  If not,
>> check the postinstall scripts in '/etc/postinstall', paying particular
>> attention to those that don't end in '.done'.  If you have some of these,
>> run them yourself with 'sh <scriptname>' and then move the script to
>> '<scriptname>.done'  Run the scripts in the order they appear.  Otherwise,
>> if HOME is defined in the Windows environment, just remove the definition.
>> You may find you have to rerun some of the postinstall scripts to "recover",
>> particularly '000-cygwin-post-install.sh'.  Or you can try wiping the
>> installation and starting over.
>>
>
> I experienced all the same symptoms reported by the OP with my
> setup.exe on Wine attempt.  So you have given me hope that some of the
> errors I saw were due to not setting HOME.  Could you be more specific
> about exactly how HOME should be set "in your Windows environment".

<snip>

> Are there any other environment variables that should be set as well
> before running setup.exe for a fresh install?

I believe you have drawn the opposite conclusion from what I was trying
to convey.  It is best to _not_ have HOME set in your Windows environment
prior to running 'setup.exe'.  If you do have it set, 'setup.exe' will
use that directory as your home rather than the default '/home/<username>'.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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