delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/11/06/11:30:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=6.2 required=5.0 tests=AWL,BAYES_20,BOTNET,HDRS_LCASE,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_NEUTRAL,T_MANY_HDRS_LCASE
X-Spam-Check-By: sourceware.org
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
To: <cygwin AT cygwin DOT com>
Subject: ls / under chroot
Date: Tue, 06 Nov 2012 11:30:22 -0500
Message-id: <002f01cdbc3c$05a0db20$10e29160$@ieee.org>
MIME-version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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.

Pierre


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019