ls / under chroot

Pierre A. Humblet Pierre.Humblet@ieee.org
Tue Nov 6 16:30:00 GMT 2012


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



More information about the Cygwin mailing list