Re: Can't find program in my path

2012-03-17 Thread David Sastre Medina
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


signature.asc
Description: Digital signature


Can't find program in my path

2012-03-15 Thread Jim Reisert AD1C
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.

# set

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)

# ls /cygdrive/d/ActiveState Perl Dev Kit 9.1.1/bin

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

# ls -l perlapp

-rwx--+ 1 SYSTEM SYSTEM 401504 Dec  9 02:01 perlapp.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.

I even did a chmod og+rwx perlapp.exe and nothing changed.

Running latest of everything:

CYGWIN_NT-6.1-WOW64 JJR 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin

-- 
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

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