On Fri, 23 May 2025 at 23:42, Kevin Schnitzius via Cygwin
<cygwin@cygwin.com> wrote:
>
> On Friday, May 23, 2025 at 09:04:11 AM EDT, Aurélien Couderc via Cygwin 
> <cygwin@cygwin.com> wrote:
>
> On Tue, May 13, 2025 at 9:07 PM Brian Inglis via Cygwin <cygwin@cygwin.com> 
> wrote:
> >
> >> No one else is reporting any such problems, so it is your environment, 
> >> with your
> >> network share, that is now having issues.
> >
> >I think no one reported it because it is a new problem, and Cygwin is
> >not updated every week
>
> Z:\cygtest>.\bin\bash.exe -c 'ls -l ; echo $?
> ./bin/bash: line 1: ls: command not found
> 127
>
> Z:\cygtest>.\bin\bash.exe -c '/bin/ls -l ; echo $?
> total 1629
> -r-xrwxr-x+ 1 Administrators Unknown+Group      88 May 23 20:26 Cygwin.bat
> dr-xrwxr-x+ 1 Administrators Unknown+Group       0 May 23 20:14 bin
> dr-xrwxr-x+ 1 Administrators Unknown+Group       0 May 23 19:38 dev
> dr-xrwxr-x+ 1 Administrators Unknown+Group       0 May 23 20:28 etc
> drwxrwxrwt+ 1 Administrators Unknown+Group       0 May 23 19:38 home
> drwxrwxr-x+ 1 Administrators Unknown+Group       0 May 23 19:34 
> https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f
> dr-xrwxr-x+ 1 Administrators Unknown+Group       0 May 23 20:14 lib
> dr-xrwxr-x+ 1 Administrators Unknown+Group       0 May 23 20:08 sbin
> -rwxrwxr-x+ 1 Administrators Unknown+Group 1572280 May 23 19:33 
> setup-x86_64.exe
> drwxrwxrwt+ 1 Administrators Unknown+Group       0 May 23 19:38 tmp
> dr-xrwxr-x+ 1 Administrators Unknown+Group       0 May 23 20:06 usr
> dr-xrwxr-x+ 1 Administrators Unknown+Group       0 May 23 20:00 var
> 0
>
> It looks like the PATH is not set.  Z: is a remote drive...
>
> Here it is on a local drive:
>
> C:\cygwin64>set PATH=c:\Windows;c:\Windows\system32
>
> C:\cygwin64>.\bin\bash.exe -c 'ls -l; echo $?'
> ./bin/bash: line 1: ls: command not found

Which filesystem is that? Which Cygwin version and which Windows
version do you use?

I can reproduce Aurélien's problem with Cygwin 3.6.1, but it works
with Cygwin 3.4 on the same filesystem

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

-- 
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

Reply via email to