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: Conflict between Eclipse JGit and Cygwin HOME
Date: Tue, 17 Mar 2020 23:55:43 +0300	[thread overview]
Message-ID: <1326008800.20200317235543@yandex.ru> (raw)
In-Reply-To: <CAA5t8VoxA680p7xpOm+GgK5ZejiTuY-RXzuCpc_6TX5H7qAK3Q@mail.gmail.com>

Greetings, David Karr!

>>
>> You problem seems to be with your Windows network profile and Windows
>> programs,
>> nothing to do with Cygwin.
>> Fixing the former will probably fix the latter.
>>

> If it wasn't obvious, I'm trying to find a solution, not assign blame.

I, personally, offered at least one solution that I've tested myself.
Cygwin Git do not play nice with naive programs over local filesystem. UNC
paths are a lil' bit better in this regard.
But Git-for-Windows will certainly work better with native tools.

> Of course it has "something to do with Cygwin", because I'm using it,

It should have something to do with the air, because you are breathing it…
I hope you get the analogy.

> and Cygwin and WIndows are using a shared resource, the "HOME" variable.

No, Windows do NOT use %HOME% in any way, shape, or form.

> Cygwin and Windows try to use it for different purposes.  There's nothing I
> can do about the "Windows network profile".

Windows only using

1. %HOMEDRIVE%%HOMEPATH%
2. %HOMESHARE%
3. %USERPROFILE%

as far as I recall.
These are all different variables pointing to (potentially) different
locations. Supposedly, all of them exist (if defined). (I may be wrong, but my
12 years of experience with domain networks tell me this should be true.)

>> But if your work infrastructure does not yet support W10 1809 (do you
>> really
>> mean that release, not the current 1909 release?) you should not have
>> upgraded,
>> and any breakage is down to you.
>>

> Again, you took this as me trying to assign blame, which is pointless.

Again, no. We made a mission statement, but at the same time we offered a
solution.

> Yes, I meant 1809, and although I performed the upgrade manually, it would
> have been done automatically in the near future if I hadn't, so there was
> no choice there.


>> For Cygwin options see:
>>
>> https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-desc


> Yes, I've seen that, and considered my options there, but I don't think
> that will address this situation.  The problem is the contents of the
> "HOME" variable. It doesn't matter where my Cygwin HOME directory actually
> resides.

See above. And test your assumptions.


-- 
With best regards,
Andrey Repin
Tuesday, March 17, 2020 23:47:29

Sorry for my terrible english...

      parent reply	other threads:[~2020-03-17 21:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17  0:23 David Karr
2020-03-17  1:03 ` Andrey Repin
2020-03-17  6:19   ` Brian Inglis
2020-03-17 13:45     ` David Karr
2020-03-17 20:55       ` Brian Inglis
2020-03-17 20:55       ` Andrey Repin [this message]

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=1326008800.20200317235543@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).