public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: David Karr <davidmichaelkarr@gmail.com>, cygwin@cygwin.com
Subject: Re: More on Win7 update messing up HOME
Date: Fri, 16 Aug 2019 10:50:00 -0000	[thread overview]
Message-ID: <852665122.20190816134116@yandex.ru> (raw)
In-Reply-To: <CAA5t8Vo_kdqfAO1L_z-xf8mzp=fK3AuTYRmoqHLKLiz33Rx-mQ@mail.gmail.com>

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.

> 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 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/<myuid>" 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
> "<MYDOMAIN>+User(1944941)" and "2993517" (group and user, respectively, I
> believe).

Please remove any /etc/{group,passwd} files and try again.


-- 
With best regards,
Andrey Repin
Friday, August 16, 2019 13:37:51

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

  reply	other threads:[~2019-08-16 10:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16  2:39 David Karr
2019-08-16 10:50 ` Andrey Repin [this message]
2019-08-16 13:40   ` David Karr
2019-08-16 18:22     ` Hans-Bernhard Bröker
2019-08-16 18:42       ` David Karr
2019-08-16 18:43         ` Lee
2019-08-16 20:35           ` David Karr
2019-08-16 20:47     ` Andrey Repin
2019-08-16 21:02       ` Quanah Gibson-Mount
     [not found]       ` <1FFDA2C4248A525343CFDE92@192.168.1.144>
2019-08-16 22:11         ` David Karr
2019-08-17  8:16 ` Achim Gratz
2019-08-18  1:37   ` David Karr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=852665122.20190816134116@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=davidmichaelkarr@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).