Can't find program in my path
David Sastre Medina
d.sastre.medina@gmail.com
Sat Mar 17 17:08:00 GMT 2012
On Thu, Mar 15, 2012 at 08:25:40PM -0600, Jim Reisert AD1C wrote:
> I can't find a particular application in my path. It used to work,
> but I haven't run this application since the last couple of Cygwin
> releases.
>
> path (. /cygdrive/d/Home/bin /usr/local/emacs/bin /usr/local/bin
> /usr/bin /cygdrive/c/Program Files (x86)/NVIDIA
> Corporation/PhysX/Common /cygdrive/d/Perl/site/bin
> /cygdrive/d/Perl/bin /cygdrive/d/ActiveState Perl Dev Kit 9.1.1/bin
> /cygdrive/c/Windows/system32 /cygdrive/c/Windows
> /cygdrive/c/Windows/System32/Wbem
> /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
> /cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI
> /cygdrive/d/utility/Diskeeper Corporation/Undelete /cygdrive/c/Program
> Files (x86)/QuickTime/QTSystem /cygdrive/d/utility/DISKEE~1/DISKEE~1
> /cygdrive/d/WATCOM/BINNT /cygdrive/d/WATCOM/BINW /usr/bin)
A simple 'echo $PATH' would be better here.
> # ls "/cygdrive/d/ActiveState Perl Dev Kit 9.1.1/bin"
Please note that ActiveState Perl is not really supported here, as
cygwin has its own perl.
> lib Perl514NH911.dll perlapp-gui.exe perlcov-perl.exe
> perlfb.exe perltray.exe plc-gui.exe
> Perl510NH911.dll Perl58NH911.dll perlcov.exe perlctrl.exe
> perlsvc.exe perltray-gui.exe vbsperl.exe
> Perl512NH911.dll perlapp.exe perlcov-gui.exe perlctrl-gui.exe
> perlsvc-gui.exe plc.exe
>
> JJR:~> which perlapp
> perlapp: Command not found.
>
> JJR:~> which perlapp.exe
> perlapp.exe: Command not found.
>
> perlapp is clearly in that directory. I tried some other "which"
> commands with files further into the path and they were found.
You mean 'which plc' or 'which perlfb' work as expected?
> I even did a "chmod og+rwx perlapp.exe" and nothing changed.
> # ls -l perlapp
>
> -rwx------+ 1 SYSTEM SYSTEM 401504 Dec 9 02:01 perlapp.exe
Out of curiosity, what does 'getfacl /path/to/perlapp' shows?
Do the other executables in the same directory have the same
permissions (both DAC and ACL)?
Does 'hash perlapp' solve the issue?
--
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: Digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120317/73d38ecb/attachment.sig>
More information about the Cygwin
mailing list