This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: More on Win7 update messing up HOME
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: David Karr <davidmichaelkarr at gmail dot com>, cygwin at cygwin dot com
- Date: Fri, 16 Aug 2019 23:28:53 +0300
- Subject: Re: More on Win7 update messing up HOME
- References: <CAA5t8Vo_kdqfAO1L_z-xf8mzp=fK3AuTYRmoqHLKLiz33Rx-mQ@mail.gmail.com> <852665122.20190816134116@yandex.ru> <CAA5t8Vp9xRjv1Quy02Xoy+FXFGxqrPgYOp_f7ecNrP=HP+bYdA@mail.gmail.com>
- Reply-to: cygwin at cygwin dot 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.
>>
> 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 <Enter>.
Then
Win+R -> "bash" (specify full path if necessary)
Type "set | grep -iE '^HOME'" and hit <Enter> 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/<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.
>>
> 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