 chroot_list_file.  , ,  chroot_list_enable  YES.
 : /etc/vsftpd.chroot_list

 passwd_chroot_enable.  YES    -
  chroot,    chroot_list_enable  chroot_local_user
  .

   chroot     ,
  /. /         
/etc/passwd.         ,     -
 cd .    .

,        /etc/passwd (. -
    "   "  12)   
/home/sam  /home/./sam      /home    vsftpd.
        -
  , ,     .
 : NO

 secure_chroot_dir.   ,      -
 ftp.  vsftpd      
 chroot,        .
 : /usr/share/empty

 local_root.         
  .     , 
   .
 : 

   

   ,   ,  
  ,           -
 .        ,
    write_enable  NO ( )  YES. 
  local_umask  022,     
  644 (.  " "  6).

.     ""  "FTP-
(vsftpd)"        ,   
   .

   vsftpd     -
 :

1.    write_enable  YES.

2.    /var/ftp ,     
 ,       ( 333).   -
,    , , -
   ,    .
    /var/ftp/uploads,    -
  ,       :

# mkdir /var/ftp/uploads

# chmod 333 /var/ftp/uploads

 19. FTP:                                           621