[RFD]: Execute permission for DLLs?

Egor Duda deo@logos-m.ru
Tue Oct 31 23:07:00 GMT 2000


Hi!

Wednesday, 01 November, 2000 Christopher Faylor cgf@redhat.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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19




More information about the Cygwin-developers mailing list