This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cannot execute binary file
- From: "P.Long" <T dot A dot N dot S dot T dot A dot A dot F dot L at comcast dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 21 Sep 2012 02:03:36 -0400
- Subject: Re: cannot execute binary file
- References: <BLU0-SMTP432975DFB75C789EA26B3AD9D9A0@phx.gbl>
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