This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Command not found eventhough it is on one of the PATH directories
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 13 Aug 2004 16:53:02 +0100
- Subject: RE: Command not found eventhough it is on one of the PATH directories
> -----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/