This is the mail archive of the cygwin-developers@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFD]: Execute permission for DLLs?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]