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


At 03:50 PM 9/12/2001, David Monk wrote:
>I am running the latest net realease on NT 4 and Win 2k. I am having a
>problem limiting, from cygwin, the permissions on a bash script so that only
>the owner can execute it.
>I finally after much fiddling figured out that with the shebang line in the
>script, cygwin immediately thinks it's executable by all. If I try any chmod
>affecting it's executable status, it's ignored. How can I work around this?


Set ntsec in your CYGWIN environment before starting any Cygwin app.


>Also, how can this be worked around on Win9x also, as it is planned to
>eventually distribute this script set.


You can't.  9x has no concept of security. 



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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]