X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: How to properly set up a chrooted environment
Date: Thu, 01 Apr 2010 20:45:18 -0700
Lines: 23
Message-ID: <hp3p8e$743$1@dough.gmane.org>
References: <20100401201915.GA3964@ghost.local.lan> <4BB50186.5060003@redhat.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


On 04/01/2010 01:26 PM, Eric Blake wrote:
> On 04/01/2010 02:19 PM, d.sastre.medina@gmail.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 <http://defaria.com>
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

