Why /usr/bin/*.dll must be executable?

De-Jian Zhao dejian.zhao@gmail.com
Fri Apr 20 17:37:00 GMT 2012


On 2012-4-21 1:29, Larry Hall (Cygwin) wrote:
> 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"?
>

It doesn't work any more. You cannot restart a new terminal, either. You 
will be trapped here.


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



More information about the Cygwin mailing list