This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No such file, but it's right there


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]