This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls / under chroot


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.

Pierre


see last sentence on "File Access" paragraph http://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]