Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Sun, 16 Jan 2005 17:39:42 -0800
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: Re: Can "DLL's" & libraries be marked as non-executable?
Message-ID: <20050117013942.GA3984@efn.org>
References: <41E9D722.3010306@tlinx.org> <009001c4fba2$54223c20$e6ec6f83@robinson.cam.ac.uk> <41EAF139.6070102@tlinx.org> <41EAFB0B.8080501@familiehaase.de> <20050117011343.GE12175@trixie.casa.cgf.cx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050117011343.GE12175@trixie.casa.cgf.cx>
User-Agent: Mutt/1.4.1i
Organization: bs"d
X-IsSubscribed: yes

On Sun, Jan 16, 2005 at 08:13:43PM -0500, Christopher Faylor wrote:
> On Mon, Jan 17, 2005 at 12:38:51AM +0100, Gerrit P. Haase wrote:
> >>More to the point, what would "break" in the cygwin environment,
> >
> >Try to chmod 644 any dll and call a program that uses this dll.  This
> >fails for me (on NT4 with NTFS), if it succeeds for you, fine.  Change
> >the permissions as you like it;)
> 
> I think what's being asked is that we make a special case for dlls so
> that, even if the OS says they are executable, cygwin will not call them
> executable.

<pedant>
But that's not possible without opening them; I can very well have
a program file or script named foo.dll that I want to be exectutable.
</pedant>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

