delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/21/02:04:21

X-Recipient: archive-cygwin AT delorie DOT 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 DOT A DOT N DOT S DOT T DOT A DOT A DOT F DOT L AT comcast DOT 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 AT cygwin DOT com
Subject: Re: cannot execute binary file
References: <BLU0-SMTP432975DFB75C789EA26B3AD9D9A0 AT phx DOT gbl>
In-Reply-To: <BLU0-SMTP432975DFB75C789EA26B3AD9D9A0@phx.gbl>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019