X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE51E3855598
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1686863265;
	bh=ZYdARBPxFYLBnCJpPXDU6HcRM6HSiBvgpyOaMMEkiIg=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=yAHJM78ucUmVmjSASREsD4TDijK6ZLBaOYy+mC0srLBpUXKVohVEvp4jh9N8yr3iV
	 LWc8gaupHerY0TE5N+yNCtPVksuOTgPBfYH6T+lLhTNj4l4Cm+uxGhyiRi7BrcH5X1
	 9ArzDP3PQ7gzrsVW2vXRvMx1Qp6FhVIoMudyjjY8=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 58019385771A
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1686863249; x=1689455249;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=csANGmnE13zxSr/e8Xuh5dwLMSd44/Kxt5jz7K70+uM=;
 b=ICrW2h+7DA4dWCiV4niDf7FoBllHVYcps7Qq2CErKztaiWwoUlO4JfeQEWI8gLiG4f
 W3tJYstTKhKwjg7rIyQCMmMK/So60s3XOYULxY0rGCa6iD+5BDBBFpnd+dbLodX760/0
 3PkSsww+ME7aufauGLP/XqmBKQysYy1cnA9zEqKJYmDinKytcxu9NwYvq0ndsuJpUIoP
 dJyYWmCnkUkywP8KfG8XdodE2q86Q53esX8oyhaQyqoz/SR18Tfq3f9qRRIvs1HUuKng
 zKTJ7dFBh9ryY292HXyfTR7SXTz9qPhR3CTML2lLzMgJS8dOsqZdnWD8M0K7Yltq+6cR
 O+xg==
X-Gm-Message-State: AC+VfDwL8nDvKlPLFI87QrdzVSex2O3Ff6OmYLHS+i1UymwBccHcoJiO
 f5YeYQc5exuStLpYO6KcI4y/NfJPkGQv4sxpsSAoKaivF64=
X-Google-Smtp-Source: ACHHUZ6GqRoMiqBRlQr41nx8i65molxnLfiT83+/ehvaqD1EaZw+lm1UnBXU7R/QWi/Usjt8Lm8YsV8e1zXTrCtgC1w=
X-Received: by 2002:a05:6102:55a2:b0:430:13cb:8156 with SMTP id
 dc34-20020a05610255a200b0043013cb8156mr2976036vsb.13.1686863247305; Thu, 15
 Jun 2023 14:07:27 -0700 (PDT)
MIME-Version: 1.0
References: <CAA5t8VpyM-pXfw4vjyTTb3Pa6HthHK+K6K3wO_OqX-TeqwOyjA@mail.gmail.com>
In-Reply-To: <CAA5t8VpyM-pXfw4vjyTTb3Pa6HthHK+K6K3wO_OqX-TeqwOyjA@mail.gmail.com>
Date: Thu, 15 Jun 2023 14:07:16 -0700
Message-ID: <CAA5t8Vob5aVkJGkvFhHEkW79LUJ=WaSJQY8TmB_G5txiHxLz+g@mail.gmail.com>
Subject: Re: Trying to figure out what is wrong in a colleague's Cygwin setup
To: The Cygwin Mailing List <cygwin@cygwin.com>
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: David Karr via Cygwin <cygwin@cygwin.com>
Reply-To: David Karr <davidmichaelkarr@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 35FL8Bc4001703

(I replied with this earlier directly to someone who I didn't realize had
only replied to me.)

I do have a couple other clues that I've noticed while continuing to debug
this.

This person also has "git bash" installed, which is certainly similar to
Cygwin, but not quite the same.  In his gitbash shell, he does not get this
error.

If it matters, here is the "uname -a" output (hostname elided):

    CYGWIN_NT-10.0-22000 ... 3.4.6-1.x86_64 2023-02-14 13:23 UTC x86_64
Cygwin

If it matters, here is the same from his gitbash shell:

    MINGW64_NT-10.0-22000 ... 3.1.7-340.x86_64 2021-03-26 22:17 UTC x86_64
Msys

He is running Windows 11 (as I am).

What else can I try to narrow this down?

On Tue, Jun 13, 2023 at 2:54 PM David Karr <davidmichaelkarr@gmail.com>
wrote:

> I have been using Cygwin for many years, although I wouldn't call myself
> an advanced user.
>
> I'm working with some much newer users.  They set up Cygwin, but I didn't
> see them do it. I ran "uname -a" and it was about the same as mine.  I
> compared the output of "env|sort" and I saw some differences, but I can't
> tell if they were significant.
>
> When I run the following command:
>
>     kubectl config use-context dev2ff
>
> It works perfectly fine, setting the correct context.  When this user I'm
> working with runs the same command, he gets this (replacing his userid with
> "..."):
>
>     error: FindFirstFile C:\cygwin64\home\.../.kube/config: The directory
> name is invalid.
>
> He did have "HOME=/c/Users/...", but I had him change it to "/home/...",
> but that didn't make any difference.
>
> I'm not sure what could be happening here.
>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

