From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40093 invoked by alias); 16 Aug 2019 18:43:38 -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 40086 invoked by uid 89); 16 Aug 2019 18:43:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*c:alternative X-HELO: mail-ed1-f52.google.com Received: from mail-ed1-f52.google.com (HELO mail-ed1-f52.google.com) (209.85.208.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Aug 2019 18:43:36 +0000 Received: by mail-ed1-f52.google.com with SMTP id a21so5946527edt.11 for ; Fri, 16 Aug 2019 11:43:35 -0700 (PDT) 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=5EKEZabwihY1pmKduy0xy4JJTmYylOvMP4CyzCb3VwY=; b=tcvALkdL2Klpasemy/+Sr3YbSpJSfUayVKDgf6M8dBKWJ76VmcY9p7WidkyU+BoM8T 30rtDweXhqRvyPIyQ9/jiRhtGGHe7HJLBAMlruA11SQ0PhTy2tFGG8RkkhCNUh/6OShp A/mRyGkector0H2fQEmvK/QzofZ7i/7PPY4LWgum09VKk4+iMuqd/feVh3pSEXCQQISe gpF0nxJ7xnxSlbVdCMzIJdiF/6Nv/msQwZEzZW47lO72eWnBj8uFB8zmsSl8Lz2GG9T5 cqpl+6l8ajV89OdKUoNBAn2t2cuer8FQwvYQK/IrMFgt+AuSSCQ6LdUjfxmFc+fQpzMe 1uow== MIME-Version: 1.0 References: <0b92f093cce0c8b0f1b43c9ed6dabac9@smtp-cloud8.xs4all.net> <177b39dbb95fb07000da6880d83c1db1@smtp-cloud9.xs4all.net> In-Reply-To: <177b39dbb95fb07000da6880d83c1db1@smtp-cloud9.xs4all.net> From: David Karr Date: Fri, 16 Aug 2019 18:45:00 -0000 Message-ID: Subject: Re: Win7 system update hosed something in Cygwin To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00230.txt.bz2 On Fri, Aug 16, 2019 at 7:58 AM Houder wrote: > On Fri, 16 Aug 2019 06:40:28, David Karr wrote: > > On Fri, Aug 16, 2019 at 2:01 AM Houder wrote: > .. > > > > Please study /etc/profile where it says "here is how HOME is set" ... > > > > > > > Ok. This says: > > > > # 1) From existing HOME in the Windows environment, translated to a > > Posix path > > # 2) from /etc/passwd, if there is an entry with a non empty directory > > field > > # 3) from HOMEDRIVE/HOMEPATH > > # 4) / (root) > > > > I just brought up a cmd shell and entered "set" and looked at the result. > > > > 1. I don't have a "HOME" variable setting. > > 2. /etc/passwd doesn't exist in Cygwin. > > 3. I DO have both HOMEDRIVE and HOMEPATH set, and that points to my > Windows > > home directory, which DOES exist. > > 4. This is what I am getting. > > Perhaps comment in file is not complete? (is getent perhaps used?) > > > So, before this reboot, my Cygwin home directory has always been > > "/home/", which has always resided at "c:\cygwin64\home\". > > After the reboot, my Cygwin home directory is "/", which appears to > > translate to "c:\cygwin64" (from "cygpath -w /"). However, according to > > the rules listed in /etc/profille, I SHOULD be getting home set to > > "c:/Users/", although I don't want that. > > > > Any other ideas? > > 1. cygcheck -srv? (include the compressed output to your reply) > > 2. getent passwd? (what home directory for your id?) > The first line of this output is this (with some minor elisions): +User(1944941):*:2993517:2993517:U-\User(1944941),S-1-5-21-2057499049-1289676208-1959431660-1944941:/:/sbin/nologin This does seem to correspond to having a homedir of "/". I don't know what this looked like before. > 3. /etc/nsswitch.conf? (db_home?) > > Henri > > > -- > 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