delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <4.3.1.2.20010912162304.02ff4ef0@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Wed, 12 Sep 2001 16:24:22 -0400 |
To: | "David Monk" <david AT purplebear DOT net>, <cygwin AT cygwin DOT com> |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: Bash script permissions |
In-Reply-To: | <006d01c13bc4$2d570130$391e10ac@dmonknt> |
Mime-Version: | 1.0 |
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 AT rfk DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |