Всем привет. Есть Debian + vsftpd.
vsftpd.conf
listen=YES
max_clients=100
max_per_ip=40
hide_ids=YES
idle_session_timeout=600
data_connection_timeout=120
dirmessage_enable=YES
ftpd_banner=Welcome!
anonymous_enable=YES
no_anon_password=YES
anon_root=/var/ftp/pub
anon_umask=022
guest_enable=YES
guest_username=ftpuser
nopriv_user=ftpuser
pam_service_name=vsftpd
virtual_use_local_privs=YES
local_root=/var/ftp/$USER
user_sub_token=$USER
user_config_dir=/etc/vsftpd/user_conf
local_enable=YES
write_enable=YES
local_umask=011
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
При попытке загрузки файла фтп возвращает такую ошибку 229 Entering Extended Passive Mode (|||44341|). 553 Could not create file.
ls -la с мест
/var/ftp
drwxrwxr-x 4 root ftpuser 4096 Jul 25 18:55 .
drwxr-xr-x 12 root root 4096 Jul 25 18:43 ..
dr-xr-xr-x 3 ftpuser nogroup 4096 Jul 25 20:02 user1
drwxr-xr-x 2 ftpuser ftpuser 4096 Jul 25 18:55 pub
/var/ftp/user1
dr-xr-xr-x 3 ftpuser ftpuser 4096 Jul 25 20:02 .
drwxrwxr-x 4 root ftpuser 4096 Jul 25 18:55 ..
drwxrwxrwx 2 ftpuser nogroup 4096 Jul 25 20:02 root
-rw-r--r-- 1 ftpuser nogroup 219008 Mar 31 22:36 vsftpd-dbg_3.0.2-14_amd64.deb