Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 16 Jan 2005 22:02:12 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Yitzchak Scott-Thoennes cc: cygwin AT cygwin DOT com Subject: Re: Can "DLL's" & libraries be marked as non-executable? In-Reply-To: <20050117013942.GA3984@efn.org> Message-ID: References: <41E9D722 DOT 3010306 AT tlinx DOT org> <009001c4fba2$54223c20$e6ec6f83 AT robinson DOT cam DOT ac DOT uk> <41EAF139 DOT 6070102 AT tlinx DOT org> <41EAFB0B DOT 8080501 AT familiehaase DOT de> <20050117011343 DOT GE12175 AT trixie DOT casa DOT cgf DOT cx> <20050117013942 DOT GA3984 AT efn DOT org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 16 Jan 2005, Yitzchak Scott-Thoennes wrote: > 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. > > > 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. > Very true. Not only that, if this were in place and for some reason you *did* get a real DLL without the "execute file" ACL, there would be no way of either checking this or setting it via Cygwin means. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/