delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/11/01/02:07:50

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Wed, 1 Nov 2000 10:06:20 +0300
From: Egor Duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: Egor Duda <cygwin-developers AT sources DOT redhat DOT com>
Organization: DEO
X-Priority: 3 (Normal)
Message-ID: <14581774645.20001101100620@logos-m.ru>
To: Christopher Faylor <cygwin-developers AT sources DOT redhat DOT com>
Subject: Re: [RFD]: Execute permission for DLLs?
In-reply-To: <20001031181520.A31409@redhat.com>
References: <39FEA32B DOT 58D3518F AT cygnus DOT com> <20001031122426 DOT A27656 AT redhat DOT com>
<16141549765 DOT 20001031225555 AT logos-m DOT ru> <20001031181520 DOT A31409 AT redhat DOT com>
Mime-Version: 1.0

Hi!

Wednesday, 01 November, 2000 Christopher Faylor cgf AT redhat DOT com wrote:

CF> On Tue, Oct 31, 2000 at 10:55:55PM +0300, Egor Duda wrote:
>>i've  understood  it  a bit differently. i think Corinna wants to turn
>>executable   bit   on  when  _creating_ tar file on "bad" system which
>>do not support ntsec, not when unpacking it on ntfs+ntsec system.
>>Turning  executable  permissions on when creating dll is solution too,
>>but  for  which  user will you turn in on? for everyone? i don't think
>>it's  a  right thing from security point of view. for owner and group?
>>then   you won't solve original problem.

CF> Actually, Corinna wanted to have cygwin always consider a .dll extension
CF> as executable.

not  always.  only  if  ntsec  is  off  or  file  system  is FAT. if i
intentionally run "chmod o-x some.dll" for some dll on ntfs partition 
when ntsec is on, i don't see why cygwin should override it.

CF> I've actually generated this so that if cygwin detects the executable magic
CF> number in the first two bytes of the file it will be considered executable.

CF> That means that a.out files will also appear to be executable.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019