Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: Re: Readonly
Date: Tue, 16 Mar 2004 21:40:07 +0100
Lines: 17
Message-ID: <1cfvue3lgqiv7$.dlg@thorstenkampe.de>
References: <Law10-OE3344vxVx49d0004adb4@hotmail.com> <Pine.GSO.4.56.0403160917300.1540@slinky.cs.nyu.edu> <Law10-OE28anCXSTx4G00012f01@hotmail.com> <Pine.GSO.4.56.0403161013520.1540@slinky.cs.nyu.edu> <LAW10-OE53VVRog2Pf40004baeb@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: isi-dialin-129-49.isionline-dialin.de
User-Agent: 40tude_Dialog/2.0.10.1de

* Martin Gainty (2004-03-16 16:24 +0100)
> If you
> chmod 511 /bin/bash.exe and run
> bash.exe
> you will encounter same capabilities as executing
> bash.exe --restricted

Nonsense.

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

I think you're smart enough to understand what "restricted mode" does,
but probably not smart enough to find the information although it's
terribly simple: man bash -> RESTRICTED SHELL

Thorsten


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

