www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_RW |
X-Spam-Check-By: | sourceware.org |
Date: | Sat, 17 Mar 2012 18:07:43 +0100 |
From: | David Sastre Medina <d DOT sastre DOT medina AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Can't find program in my path |
Message-ID: | <20120317170742.GA5193@jethro.local.lan> |
References: | <CAK-n8j5ubNwxq3EiVr1rz78cv9fmyNzDFX+0Q09RbGiwvpn7qQ AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CAK-n8j5ubNwxq3EiVr1rz78cv9fmyNzDFX+0Q09RbGiwvpn7qQ@mail.gmail.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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 >=20 > JJR:~> which perlapp > perlapp: Command not found. >=20 > JJR:~> which perlapp.exe > perlapp.exe: Command not found. >=20 > 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 >=20 > -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? --=20 Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAk9kxN4ACgkQ95urBFKZ7FZeYAD+O7nZN69FsE2EDcC01N1OePS4 ntkgErHJf5GuwKLSBFMA/0zQxyDW9lx7S6ZryjarsJ582IsgpS46e7dPjBT/VID/ =LS8f -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |