Originally Posted by
Oleg
Со встроенным фтп я навалял. Не хватает директории /usr/share/empty.
Да, действительно:
Code:
$ ftp 192.168.1.1
Connected to 192.168.1.1 (192.168.1.1).
500 OOPS: vsftpd: not found: directory given in 'secure_chroot_dir':/usr/share/empty
Если добавить каталог /usr/share/empty и сменить права на 0555:
Code:
$ ftp 192.168.1.1
Connected to 192.168.1.1 (192.168.1.1).
220 (vsFTPd 2.0.5)
Name (192.168.1.1:username): user
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Directory send OK.
ftp> quit
221 Goodbye