From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23500 invoked by alias); 8 Jul 2013 17:21:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23487 invoked by uid 89); 8 Jul 2013 17:21:47 -0000 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 Received: from vms173007pub.verizon.net (HELO vms173007pub.verizon.net) (206.46.173.7) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 08 Jul 2013 17:21:46 +0000 Received: from [192.168.1.231] ([unknown] [108.20.163.251]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MPM00N5NO7V4020@vms173007.mailsrvcs.net> for cygwin@cygwin.com; Mon, 08 Jul 2013 12:21:37 -0500 (CDT) Message-id: <51DAF51F.5080705@cygwin.com> Date: Mon, 08 Jul 2013 18:12:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.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@cygwin.com Subject: Re: Home directory issue References: <51DAD616.7010407@cygwin.com> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-SW-Source: 2013-07/txt/msg00159.txt.bz2 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/, >>> instead of/home/ >>> * The path IS correct in/etc/passwd (/home/) >> >> >> >> 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 ' and then move the script to >> '.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". > 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/'. -- 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