This is the mail archive of the cygwin@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]

Re: Bash script permissions


On Wed, Sep 12, 2001 at 04:01:24PM -0500, David Monk wrote:
>> Apparently you don't seem to understand the concept of NTFS security
>> and _why_ it's set that way after switching ntsec on. Besides the
>> Microsoft documentation read http://cygwin.com/cygwin-ug-net/ntsec.html.
>> Thinko:  When Cygwin has been installed using no security settings at
>> att, how are the default settings on the files...
>>
>
>I would actually, considering my environment, love to switch to using the
>ntsec setting. But, how do I change over to the new setting without a whole
>ton of work? I have made so many additions to cygwin since original
>installation here.

chmod -R a-x /lib /etc
etc.
Leave the directories containing binary files alone.

You don't have to laboriously do a chmod for every file.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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