[RFD]: Execute permission for DLLs?

Christopher Faylor cgf@redhat.com
Tue Oct 31 15:15:00 GMT 2000


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.

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

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

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

cgf


More information about the Cygwin-developers mailing list