From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61909 invoked by alias); 16 Aug 2019 20:35:07 -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 61895 invoked by uid 89); 16 Aug 2019 20:35:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=wat, H*r:Client, H*r:present, H*UA:Bat! X-HELO: forward103o.mail.yandex.net Received: from forward103o.mail.yandex.net (HELO forward103o.mail.yandex.net) (37.140.190.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Aug 2019 20:35:04 +0000 Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 6F21D5F8039B; Fri, 16 Aug 2019 23:35:01 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id UV9jiI5q4y-Z1IKtJNu; Fri, 16 Aug 2019 23:35:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1565987701; bh=sQ60DcELRUYzlzQgEkrR5Q80+7HweJI2iUiHY5eGQpE=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=r3z9x0LazcQ6iVfqFCH6VNapL1UG6Ll2r7/I6M5v02LwglXtqNzby/u/yEFD/W0Bd N7warmg7bQJ/3m/8Gf5AKaPXX3GsY1saI3ARCWqgd8oh5P7Sc+MEHO94folSCp8EM+ SQ8tITfwlvBeob2y7gWEL2njFdXgGinmkomOCucA= Authentication-Results: mxback7j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uG9R8Itjag-Z0rWDgDK; Fri, 16 Aug 2019 23:35:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 16 Aug 2019 20:28:53 -0000 Date: Fri, 16 Aug 2019 20:47:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1872160368.20190816232853@yandex.ru> To: David Karr , cygwin@cygwin.com Subject: Re: More on Win7 update messing up HOME In-Reply-To: References: <852665122.20190816134116@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00233.txt.bz2 Greetings, David Karr! >> > I wish I could get my own messages on this list, so I could add more >> > information to my first note. >> >> Just reply to your own initial message. Or better yet, subscribe. >> > I am subscribed. I can't reply to my own initial message because I never > receive my own postings, I only receive notes sent by other people. You WROTE it. No need to receive to reply to it. >> > Running the installer again made no difference. It still thinks my HOME >> is >> > "/". >> >> 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. wat??? Win+R -> "cmd" In the console, type "set HOME" and hit . Then Win+R -> "bash" (specify full path if necessary) Type "set | grep -iE '^HOME'" and hit again. Check if both envs correspond to eachother. >> > I don't know what environment variables are set or inspected by cygwin. >> I >> > see that the "USERNAME" variable seems to have my expected value. >> >> > I tried running "mkpasswd -d" and grepping for my userid, and it was >> there >> > (along with many others). >> >> > I can "fix" the environment in the mintty shell by setting HOME to >> > "/home/" and then sourcing my .bashrc and .bash_profile. That >> > doesn't help my Emacs desktop shortcut, which uses "run2". >> >> > I noticed that when I do an "ls -lt" in my homedir, instead of the owner >> > and group of files being my simple uid, it's something like >> > "+User(1944941)" and "2993517" (group and user, respectively, I >> > believe). >> >> Please remove any /etc/{group,passwd} files and try again. >> > I have neither of those files. That's what I'm saying. -- With best regards, Andrey Repin Friday, August 16, 2019 23:24:39 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