From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3784 invoked by alias); 10 Aug 2012 23:31:46 -0000 Received: (qmail 3776 invoked by uid 22791); 10 Aug 2012 23:31:45 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,TW_RW,TW_WX,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Aug 2012 23:31:31 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Szyfv-0000jV-Is for cygwin@cygwin.com; Sat, 11 Aug 2012 01:31:27 +0200 Received: from 5520-maca-inet1-outside.broadcom.com ([216.31.211.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Aug 2012 01:31:26 +0200 Received: from Andrew by 5520-maca-inet1-outside.broadcom.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Aug 2012 01:31:26 +0200 To: cygwin@cygwin.com From: Andrew DeFaria Subject: Side-by-side configuration is incorrect reported as permission denied Date: Sat, 11 Aug 2012 00:45:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 X-IsSubscribed: yes 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-08/txt/msg00240.txt.bz2 I use Cygwin a lot. And I kick off Windows processes a lot. Recently I've been having a problem with my system but from Cygwin all I see is "permission denied": Ltsdo-adefaria:cd /cygdrive/c/Program\ Files/IBM/RationalSDLC/Clearquest Ltsdo-adefaria:ls -l clearquest.exe -rwxr-xr-x+ 1 Administrators clearusers 245760 Jun 2 2011 clearquest.exe* Ltsdo-adefaria:clearquest bash: ./clearquest: Permission denied Ltsdo-adefaria: However if I use cmd the real error message comes out: Ltsdo-adefaria:cmd /c clearquest The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. I know that this "side-by-side configuration is incorrect" is a configuration error on my machine and I need to fix it, but shouldn't Cygwin's exec(2) report the "side-by-side" error instead of the more erroneous "Permission denied" error? -- Andrew DeFaria Why do you press harder on the buttons of a remote control when you know the batteries are dead? -- 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