From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12698 invoked by alias); 20 Apr 2012 17:46:39 -0000 Received: (qmail 12689 invoked by uid 22791); 20 Apr 2012 17:46:38 -0000 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 Received: from vms173019pub.verizon.net (HELO vms173019pub.verizon.net) (206.46.173.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 Apr 2012 17:46:22 +0000 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8; format=flowed Received: from [192.168.1.231] ([unknown] [108.20.163.244]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M2S00CH4HD5A720@vms173019.mailsrvcs.net> for cygwin@cygwin.com; Fri, 20 Apr 2012 12:46:22 -0500 (CDT) Message-id: <4F91A0E9.6020606@cygwin.com> Date: Fri, 20 Apr 2012 17:46:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 To: cygwin@cygwin.com Subject: Re: Why /usr/bin/*.dll must be executable? References: <20120420162718.GK22155@calimero.vinschen.de> <2BF01EB27B56CC478AD6E5A0A28931F204483626@A1DAL1SWPES19MB.ams.acs-inc.net> <4F919CF3.70204@cygwin.com> <4F919ECB.3050909@gmail.com> In-reply-to: <4F919ECB.3050909@gmail.com> 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-04/txt/msg00445.txt.bz2 On 4/20/2012 1:37 PM, De-Jian Zhao wrote: > 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. Ah, I didn't realize that Ken did this in /bin. You could use cacls in this case as an alternative to reinstalling. -- 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