X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: How to properly set up a chrooted environment Date: Thu, 01 Apr 2010 20:45:18 -0700 Lines: 23 Message-ID: References: <20100401201915 DOT GA3964 AT ghost DOT local DOT lan> <4BB50186 DOT 5060003 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9pre) Gecko/20100217 Lightning/1.0pre Shredder/3.0.3pre In-Reply-To: <4BB50186.5060003@redhat.com> X-Stationery: 0.5.1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 04/01/2010 01:26 PM, Eric Blake wrote: > On 04/01/2010 02:19 PM, d DOT sastre DOT medina AT gmail DOT com wrote: > >> Hello, >> >> I'm trying to build a chrooted env in a windows 7 box: >> CYGWIN_NT-6.1 win7 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 Cygw >> > What do you hope to accomplish with this? You are NOT adding any > security to your system by using a cygwin chroot, because you do not > have operating system support (that is, an application can escape the > jail by using native Windows commands). chroot exists to ease porting > some programs (such as coreutils), but is NOT a solution for security > that you seem to think it is. I'd like to use it to set up the environment for Rational Clearcase's concept of setting a view. It uses a chrooted environment of sorts. Of course lacking OS support it probably wouldn't be 100% but it might smooth the rough edges. -- Andrew DeFaria Humor is a rubber sword - it allows you to make a point without drawing blood. - Mary Hirsch -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple