delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/20/13:30:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Message-id: <4F919CF3.70204@cygwin.com>
Date: Fri, 20 Apr 2012 13:29:23 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
To: cygwin AT cygwin DOT com
Subject: Re: Why /usr/bin/*.dll must be executable?
References: <20120420162718 DOT GK22155 AT calimero DOT vinschen DOT de> <2BF01EB27B56CC478AD6E5A0A28931F204483626 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net>
In-reply-to: <2BF01EB27B56CC478AD6E5A0A28931F204483626@A1DAL1SWPES19MB.ams.acs-inc.net>
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 4/20/2012 1:25 PM, Nellis, Kenneth wrote:
> 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.

What's wrong with "chmod +x cyg*.dll"?


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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