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" 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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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