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]

cygwin file access query - is this expected behaviour?


Hi,

When I type:
ls -l /usr/bin/grep
I get:
-rwxrwxrwx 1 Administ None 85504 Mar 21 05:16 /usr/bin/grep

When I type:
ls -l /usr/bin/grep.exe
I get:
-rwxrwxrwx 1 Administ None 85504 Mar 21 05:16 /usr/bin/grep.exe

So far so good, but ...

When I type:
file /usr/bin/grep.exe
I get:
/usr/bin/grep.exe: MS Windows PE Intel 80386 console executable not relocatable

BUT, When I type:
file /usr/bin/grep
I get:
/usr/bin/grep: writeable, executable, can't read `/usr/bin/grep' (No such file or directory).

Is this what the cygwin gurus would expect? It seems a little strange to me.

/John Vincent.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
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]