Ftp – chroot in proftpd

ftpproftpd

I am using proftpd and on every login I get the following message:

Apr  4 08:26:23 
mydomain proftpd[4240]: 
mydomain.com (xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx]) - 
FTP session opened. 

Apr  4 08:26:23 
mydomain proftpd[4240]: 
mydomain.com (xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx]) - 
Preparing to chroot to directory 'path-to/domain' 

Can anyone explaom to me what this means. Everything works fine however, the are no other messages except for these 2.

Best Answer

chroot is an operating system call that restricts an application to be able to access only a subset of the filesystem -- in effect, that part of the filesystem becomes the root, which it can't see outside of.

This is done for security reasons, to create a "jail" which an FTP client can't see beyond.