delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/16/10:24:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [141.154.236.180]
X-Originating-Email: [mgainty AT hotmail DOT com]
X-Sender: mgainty AT hotmail DOT com
From: "Martin Gainty" <mgainty AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
References: <Law10-OE3344vxVx49d0004adb4 AT hotmail DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403160917300 DOT 1540 AT slinky DOT cs DOT nyu DOT edu> <Law10-OE28anCXSTx4G00012f01 AT hotmail DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403161013520 DOT 1540 AT slinky DOT cs DOT nyu DOT edu>
Subject: Re: Readonly
Date: Tue, 16 Mar 2004 10:24:02 -0500
MIME-Version: 1.0
Message-ID: <LAW10-OE53VVRog2Pf40004baeb@hotmail.com>
X-OriginalArrivalTime: 16 Mar 2004 15:24:02.0841 (UTC) FILETIME=[B66F6890:01C40B6A]
X-IsSubscribed: yes

If you
chmod 511 /bin/bash.exe and run
bash.exe
you will encounter same capabilities as executing
bash.exe --restricted
There is a correlation between the 2 operations but I'm smart enough to say
I don't understand what the bash binary is doing with --restricted flag.
Thanks,
Martin Gainty
----- Original Message -----
From: "Igor Pechtchanski" <pechtcha AT cs DOT nyu DOT edu>
To: "Martin Gainty" <mgainty AT hotmail DOT com>
Cc: <cygwin AT cygwin DOT com>
Sent: Tuesday, March 16, 2004 10:15 AM
Subject: Re: Readonly


> Huh?  My "solution" just makes the bash executable read-only.  How does
> that help?
> Igor
>
> On Tue, 16 Mar 2004, Martin Gainty wrote:
>
> > My 1st solution was to start bash.exe --restricted
> > but your solution accomplishes the same objective.
> > Thank You,
> > Martin
> > ----- Original Message -----
> > From: "Igor Pechtchanski" <pechtcha<at>cs<dot>nyu<dot>edu>
> > To: "Martin Gainty" <mgainty<at>hotmail<dot>com>
> > Cc: <cygwin<at>cygwin<dot>com>
> > Sent: Tuesday, March 16, 2004 9:18 AM
> > Subject: Re: Readonly
> >
> >
> > > On Tue, 16 Mar 2004, Martin Gainty wrote:
> > >
> > > > Folks
> > > > How do I setup Cygwin BASH for Readonly mode?
> > > > Many Thanks,
> > > > Martin Gainty
> > >
> > > "chmod 511 /bin/bash".  :-)
> > >
> > > If that's not what you meant, you'll need to state your question more
> > > clearly.  Try re-reading <http://cygwin.com/problems.html>.
> > > Igor
>
> --
> http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019