This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: No such file, but it's right there
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Shing-Fat Fred Ma" <fma at doe dot carleton dot ca>,<cygwin at cygwin dot com>
- Date: Mon, 18 Nov 2002 00:18:00 -0000
- Subject: Re: No such file, but it's right there
- References: <1037497099.24907.ezmlm@cygwin.com> <3DD82D5A.6060306@doe.carleton.ca>
Shing-Fat Fred Ma <fma@doe.carleton.ca> wrote:
> When I try to "ls" a file I know to be
> there, I'm told it isn't:
No, as you show below, ls works, less doesn't.
> $ cd /usr/bin
> $ ls -l ftp telnet
>
> -rwxr-xr-x 1 unknown unknown 57344 Jan 6 2002 ftp*
> -rwxr-xr-x 1 unknown unknown 79360 Jan 6 2002 telnet*
>
> $ less ftp telnet
>
> ftp: No such file or directory
> telnet: No such file or directory
>
> I don't really want to less a binary file,
> just see whether the file's presence
> is recognized.
Well the files are, of course, ftp.exe and telnet.exe.
Cygwin's automagical .exe workarounds seems to not be working when going
through a mount where there is no underlying directory.
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/