X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Date: Thu, 1 Apr 2010 22:46:54 +0200 From: d DOT sastre DOT medina AT gmail DOT com To: Subject: Re: How to properly set up a chrooted environment Message-ID: <20100401204654.GA9237@ghost.local.lan> References: <20100401201915 DOT GA3964 AT ghost DOT local DOT lan> <4BB50186 DOT 5060003 AT redhat DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <4BB50186.5060003@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 01, 2010 at 02:26:46PM -0600, Eric Blake wrote: > On 04/01/2010 02:19 PM, David wrote: > > Hello, > >=20 > > 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 Cygwin >=20 > 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 was thinking about a ftp server. Users would log in into the jail, say /chroot/home/proftp/...=20 And this is just for testing/learning purposes and fun. > > -is there a canonical way to do this? > > (and where is the manual :-)) >=20 > There is no manual for chroot on cygwin, because no one here recommends > doing it for anything serious. OK. Got it. Thank you. --=20 Huella de clave =3D 943C D77F 0CB0 02FE 166E E06F D13A A2E1 98A5 C953 --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAku1Bj4ACgkQ0Tqi4ZilyVMANwCdHshQNwOpqC41dDS3m3Ccvi8E tTEAnivLm4KP3Xkez+qgAzEY4Yu7/LX7 =sJSM -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--