public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
To: "David Monk" <david@purplebear.net>, <cygwin@cygwin.com>
Subject: Re: Bash script permissions
Date: Wed, 12 Sep 2001 13:23:00 -0000	[thread overview]
Message-ID: <4.3.1.2.20010912162304.02ff4ef0@pop.ma.ultranet.com> (raw)
In-Reply-To: <006d01c13bc4$2d570130$391e10ac@dmonknt>

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/

  reply	other threads:[~2001-09-12 13:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-12 12:50 David Monk
2001-09-12 13:23 ` Larry Hall (RFK Partners, Inc) [this message]
2001-09-12 13:25 ` Corinna Vinschen
2001-09-12 13:35   ` David Monk
2001-09-12 13:46     ` Larry Hall (RFK Partners, Inc)
2001-09-12 13:50       ` David Monk
2001-09-12 13:54         ` Larry Hall (RFK Partners, Inc)
2001-09-12 13:49     ` Corinna Vinschen
2001-09-12 14:01       ` David Monk
2001-09-12 14:05         ` Christopher Faylor
2001-09-12 14:42           ` David Monk
2001-09-12 14:55             ` Rick Rankin
2001-09-12 15:02               ` Corinna Vinschen
2001-09-13  6:30                 ` Properly using ntsec, from the beginning David Monk
2001-09-13  6:59                   ` Corinna Vinschen
2001-09-13  7:25                   ` Gerrit P. Haase
2001-09-12 13:30 ` Bash script permissions Gerrit P. Haase

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.1.2.20010912162304.02ff4ef0@pop.ma.ultranet.com \
    --to=lhall@rfk.com \
    --cc=cygwin@cygwin.com \
    --cc=david@purplebear.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).