Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: References: Subject: Re: Readonly Date: Tue, 16 Mar 2004 10:24:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: 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" To: "Martin Gainty" Cc: 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" csnyuedu> > > To: "Martin Gainty" hotmailcom> > > Cc: cygwincom> > > 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 . > > > 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/