X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF3EB38582B7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1686942149; bh=FPnOJlcPG1qOhTM8wSxzML/oh57srZTy9fJ0g9JGqAw=; 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=efuk2TcKPuQDilWpRome6BTT9vMTswhMegM87DQ7Isn9xJB4nj/FBWzEQvlUVB4Nk erBSdQGC8dsXgflKRh/qq9907jzcfjkOY5Oe2IrUZXBndv4kInywaz3werXtuz6xt/ kSGCvJDI0ixYkNsc6ciI2mDsMnhkcgy0O/Rb2mKc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7349A3858D35 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686942132; x=1689534132; 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=8ihE5PDGPW+RLQqkmF08a3P90ynPN05pD2nXucqZAhA=; b=UUPW3X1Srkg+lw55c0DSSqTKCkQzU7KryZqmQHASVO4uYafNqdfJoEyv81ASqTNp5/ mkISYpf3SADP/GTfryqYn1Zw6W8GToc/Ofcm997FnLATDp2GreVBhJ2jokYupyBWd+y0 ETTzLdVWaRDx7hdDXpwYHNP0sdFJNQWtmJAaG9M/4fbx3plYjxBsit/opq/VZJjRFl+I nTWUL2OuqZhvkvHy8e0t8evcUcsiLEul8/o+oM7PxMOGn945WJ6mxAgD+pIQJA6j4D1n fXEBmcRwnCmvS4P58CejPlRV4xUQ3bBaHmm5nMPOdgpgnrOt8vG4vR+dRdM2m7nf+/rb +08Q== X-Gm-Message-State: AC+VfDwMh7eu75Yb6IrBtqe8dg+AAkYJkPLQvKrkjvfWRhqjbwiSTVoF dWlULKJXDmjKCGE4j+iu/OPqxZ0ItFCg2xV3Pyz9FfZK X-Google-Smtp-Source: ACHHUZ5BuYcPqBcqqK47ev+7OLnzrVW23L5lwoWSJEoIJ5R/mpNOmDVQHiRLanlAmyr6O+HJqBq0GTF+D4wKGutxsl0= X-Received: by 2002:a67:ec19:0:b0:43f:5df2:5736 with SMTP id d25-20020a67ec19000000b0043f5df25736mr136503vso.2.1686942132427; Fri, 16 Jun 2023 12:02:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 16 Jun 2023 12:02:01 -0700 Message-ID: Subject: Re: Trying to figure out what is wrong in a colleague's Cygwin setup To: The Cygwin Mailing List X-Spam-Status: No, score=-0.5 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: David Karr via Cygwin Reply-To: David Karr Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 35GJ2rv4021545 Ok, well, we managed to resolve this, but I don't understand why what we did would fix this. In system environment variables in Windows, they added "c:\cygwin64\bin" to the end of the PATH. That fixes the problem. That just doesn't make any sense to me. In a Cygwin shell, "/usr/bin" is in the PATH, which is the same as "c:\cygwin64\bin". On Thu, Jun 15, 2023 at 2:07 PM David Karr wrote: > (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 > 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