This is the mail archive of the cygwin 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: cannot execute binary file


On 9/20/2012 6:07 PM, RobF wrote:
Seemingly spontaneously, my ls command has stopped working.

$ ls
-bash: /usr/bin/ls: cannot execute binary file

I tried reinstalling bash and that didn't help. Any suggestions?



Rob:


there could be any number of reasons "ls" won't run. U can't check the permissions using "ls," but U can check the DACLs using "icacls.exe" or
"cacls.exe" (or, if it still works, "getfacl"). if U're more of a GUI
guy, U can also check the "Security" tab of the Property sheet in
Explorer.


tanstaafl




-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


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