delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX19sZOTqxDZBhXZG01g0Bn9F |
Date: | Tue, 6 Nov 2012 15:09:31 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ls / under chroot |
Message-ID: | <20121106200931.GA28548@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <002f01cdbc3c$05a0db20$10e29160$@ieee.org> <50993D90 DOT 1040005 AT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <50993D90.1040005@gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 Tue, Nov 06, 2012 at 05:40:48PM +0100, marco atzeri wrote: >On 11/6/2012 5:30 PM, Pierre A. Humblet wrote: >> The following output was observed when implementing anonymous ftp (chrooted) >> on XP with the latest Cygwin >> Looks like the /cygdrive, /dev and /proc entries are generated even for >> chrooted / >> >> ftp> ls >> 200 PORT command successful. >> 150 Opening ASCII mode data connection for '/bin/ls'. >> total 24 >> dr-xr-xr-x 1 Guest None 0 Nov 5 21:37 cygdrive >> dr-xr-xr-x 1 Guest None 0 Nov 5 21:37 dev >> -rw-r----- 1 Guest None 46956 Nov 5 20:17 ftpd.c >> proc: No such file or directory >> 226 Transfer complete. > >see last sentence on "File Access" paragraph >http://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-files That sentence is true but it is debatable whether cygdrive and dev should be available in a chrooted environment. There probably is no reason for cygdrive but dev might be necessary since you can't just mount it currently. cgf -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |