X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;	charset="utf-8"
Subject: RE: Why /usr/bin/*.dll must be executable?
Date: Fri, 20 Apr 2012 12:25:00 -0500
Message-ID: <2BF01EB27B56CC478AD6E5A0A28931F204483626@A1DAL1SWPES19MB.ams.acs-inc.net>
In-Reply-To: <20120420162718.GK22155@calimero.vinschen.de>
References: <20120420162718.GK22155@calimero.vinschen.de>
From: "Nellis, Kenneth" <Kenneth.Nellis@acs-inc.com>
To: <cygwin@cygwin.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id q3KHPaC1022340

From: Corinna Vinschen
> Windows requires the x bit for DLLs to be loadable as executable code
> into the address space of a process.  As Václav wrote, it's a Windows
> thing.

So, I had to play with "chmod -x cyg*.dll" and, of course, it 
totally hosed Cygwin. I recovered by reinstalling from scratch 
only after realizing that ATTRIB did not have an option to re-
establish X--we're talking XP here.  So, as this is a Windows 
thing, wondering how, through Windows, I could restore execute 
access to the DLLs.

--Ken Nellis

