| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: Command not found eventhough it is on one of the PATH directories |
| Date: | Fri, 13 Aug 2004 16:53:02 +0100 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <Pine.SOL.4.31.0408131135140.488-100000@fitzroy.cs.umass.edu> |
| Message-ID: | <NUTMEGf8oKiNhtfI3kN00000d54@NUTMEG.CAM.ARTIMI.COM> |
| X-OriginalArrivalTime: | 13 Aug 2004 15:53:02.0640 (UTC) FILETIME=[9D662B00:01C4814D] |
> -----Original Message-----
> From: cygwin-owner On Behalf Of Andres Corrada-Emmanuel
> Sent: 13 August 2004 16:37
>
> Yes, it is, by everybody. The command history below shows that I can
> exectute it when I specify the full path.
'What do you get from "ls -l
/cygdrive/u/dl/Jython/jython/dist/jython.bat"?' is not the same question as
'Can you run it?'
This isn't windoze, this is *nix. We don't decide if a file is an
executable by looking at the last four characters of its filename; we look
and see if it has the unix 'x' perm for (user, group, other) as appropriate.
Your .bat file may be executable, in practice, but that doesn't mean it
has the x perm applied; it could just be a side-effect of a mountpoint with
the -x flag.
So give us the ls -la output along with your cygcheck.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |