From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5558 invoked by alias); 21 Sep 2012 06:04:04 -0000 Received: (qmail 5533 invoked by uid 22791); 21 Sep 2012 06:04:01 -0000 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 Received: from qmta04.westchester.pa.mail.comcast.net (HELO qmta04.westchester.pa.mail.comcast.net) (76.96.62.40) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Sep 2012 06:03:48 +0000 Received: from omta09.westchester.pa.mail.comcast.net ([76.96.62.20]) by qmta04.westchester.pa.mail.comcast.net with comcast id 1i3X1k0010SCNGk54i3rA4; Fri, 21 Sep 2012 06:03:51 +0000 Received: from [127.0.0.1] ([71.232.248.209]) by omta09.westchester.pa.mail.comcast.net with comcast id 1i3y1k0074Xp1ov3Vi460s; Fri, 21 Sep 2012 06:04:06 +0000 Message-ID: <505C0338.5020600@comcast.net> Date: Fri, 21 Sep 2012 07:54:00 -0000 From: "P.Long" 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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-09/txt/msg00264.txt.bz2 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