On Mon, May 07, 2012 at 04:24:37PM +0400, Wesley wrote:

> Test it, the chroot is not possible, the "%u" is not accepted.

That sentence implies a dozen different things depending on who you
ask.  Why make people guess?  It's better to just paste output / error
messages.

I haven't served FTP in many years, but you should look into the file
/etc/ftpchroot

The ftpd manpage says

  ftp-chroot  A boolean value.  If set, users in this class will be
              automatically chrooted to the user's login directory.

ftpd wants to chroot to the user's login directory... so what is the
login directory?  Is ftpd chrooting to the user's home directory?  If
so, it is doing exactly what you told it to do.

Nicolai

Reply via email to