ls / under chroot

marco atzeri marco.atzeri@gmail.com
Tue Nov 6 16:41:00 GMT 2012


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



More information about the Cygwin mailing list