X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0	tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <505C0338.5020600@comcast.net>
Date: Fri, 21 Sep 2012 02:03:36 -0400
From: "P.Long" <T.A.N.S.T.A.A.F.L@comcast.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: cannot execute binary file
References: <BLU0-SMTP432975DFB75C789EA26B3AD9D9A0@phx.gbl>
In-Reply-To: <BLU0-SMTP432975DFB75C789EA26B3AD9D9A0@phx.gbl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

