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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:content-transfer-encoding; q=dns; s=default; b=D6ArwKAOJb9aLVvoiBGgr4GIF2YlttYCpHkwdA/5ndq nfK/2agSJuFFX3Xy+WUglGuWhcODr/zOvD4jHBNuYO2cJ1etJvvDiWO13KzLkLCu MOSsBnqYK/VdFvOQ7lTXUbpQ+5adLgm9V5nKVLppNfPvV+Dbz8GCVXI3HeMlwk5U = 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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:content-transfer-encoding; s=default; bh=OvjQ8pChU5M3Wt8E9p0fni3Iobg=; b=rGAI2YMLZBc5Tbf6p EG8WKFl4fd5JE+Vzp/jwknIPtQ2BhDCnxnPloRPd8dukQvYM8cnb2J4kV3m8ywZ6 oatQPy7U+ukcKwgYpZqp+V2gDXV07JqxrtviV1gFGRN6StNQRK5zBZa6sHovYxz/ SgeeISiNk/GW3CE+462UcqxOPE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Received:a50, H*c:alternative X-HELO: mail-ed1-f42.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5+iZ7oXZSCKFPSl8ObSbG2JpErScs3cL+t+zFb83Yl0=; b=mF2GJYQv4sKQfDeIzG2UCfd/pXGmmR5hDp5bGPtIRIS4bMyoUvWNijJGMXC3wlkZBI eTen6/aF3siJ3Y8cJGYcIQ/4OAlFwWX+xHCLLOCHOcDyoiZdyMzokSflN0GHkjoCxJ02 3/MM4QpDwe7U+ojeLQfMNppkzN6jDxFukiMzqWClKHztvkp06PrnntOi/80cz+VXZgEw FGnJQQNY3eEoGNi5aE712BNh6n6lnUZUIFt3W7uUEL/fGC8fHjVMAk1rFkE+Lx72zch3 6L9p0TaDt8aHTfdXNnbE0mIzUb35V4mytba0m9IxU5h4KnwoVVRPX0lL7zHXKC00PLXA d52A== MIME-Version: 1.0 References: <852665122 DOT 20190816134116 AT yandex DOT ru> In-Reply-To: From: David Karr Date: Fri, 16 Aug 2019 11:46:48 -0700 Message-ID: Subject: Re: More on Win7 update messing up HOME To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x7GIlZXw026527 On Fri, Aug 16, 2019 at 11:43 AM Lee wrote: > On 8/16/19, David Karr wrote: > > On Fri, Aug 16, 2019 at 10:32 AM Hans-Bernhard Bröker wrote: > > > >> Am 16.08.2019 um 15:28 schrieb David Karr: > >> > On Fri, Aug 16, 2019 at 3:50 AM Andrey Repin wrote: > >> > >> >> Do you have %HOME% variable set in your user environment? > >> >> Do you have %HOMEDRIVE%/%HOMEPATH% variables defined to something > >> >> unsettling? > >> > >> > I checked "Environment Variables" in control panel, and I'm not > setting > >> > anything beginning with "HOME" in either user or system variables. > >> > >> That check is not really useful, though. > >> > >> You need to look at the actual environment constructed for a user > >> process, at run-time. About the easiest is to start a Windows command > >> shell (Start->Run "cmd") and look at the output of the "set" command. > >> > >> In cases of looking for names starting with some prefix, like here, you > >> can narrow down the search: > >> > >> set HOME > >> > > > > That just results in: > > > > HOMEDRIVE=C: > > HOMEPATH=\Users\ > > > > I detailed this in another reply, but this would fit one of those checks, > > which should result in "C:\Users\", which is my Windows home > > directory, which does exist. I don't want it to use this, but it's not > > anyway. It's resulting in "/" as my Cygwin home. > > Have you checked /etc/nsswitch.conf yet? > $ cat /etc/nsswitch.conf > # /etc/nsswitch.conf > # > # This file is read once by the first process in a Cygwin process tree. > # To pick up changes, restart all Cygwin processes. For a description > # see > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch > # > # Defaults: > # passwd: files db > # group: files db > # db_enum: cache builtin > # db_home: /home/%U > # db_shell: /bin/bash > # db_gecos: > This matches the state of mine, where all the lines are commented out. > Lee > > -- > 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 > > -- 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