This is the mail archive of the cygwin-developers@cygwin.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]
Other format: [Raw text]

Re: Avoiding /etc/passwd and /etc/group scans


On Wed, Oct 23, 2002 at 07:22:30AM +1000, Robert Collins wrote:
>On Wed, 2002-10-23 at 07:19, Christopher Faylor wrote:
>> >- Do the modes depend on the value of ntsec when setup is run 
>> >  (e.g. inheriting from the directory)?  
>> 
>> Nope.  setup isn't a cygwin app, so...
>> cgf
>
>And because ntsec wasn't the default we couldn't set reasonable acls...

Why would that matter?  If setting reasonable acls is going to hurt the
CYGWIN=nontsec case then that's not good either.

>Here's a short term workaround, until we fix setup.exe.
>
>Add a .bat file as a postinstall script that scans the cygwin tree and
>sets executable rights to .exe and .dll files using the cacls command.

If it is that simple, then sure.  Pierre is this doable?

cgf


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