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" <[EMAIL PROTECTED]> To: "Martin Gainty" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] > |,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/