Upgrade Ubuntu 9.04 to Ubuntu 14.04 LTS. After vsftpd is restored, you cannot log on. The FlashFXP log prompts:
[18:33:18] Winsock 2.2 -- OpenSSL 1.0.1h 5 Jun 2014
[18:33:24] [R] connecting to 10.10.10.111-> IP = 10.10.10.111 PORT = 21
[18:33:24] [R] connected to 10.10.10.111
[18:33:24] [R] 220 Welcome to Yimiju FTP service.
[18:33:24] [R] USER ******
[18:33:24] [R] 331 Please specify the password.
[18:33:24] [R] PASS (hidden)
[18:33:24] [R] 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
[18:33:24] [R] connection failed
[18:33:24] [R] trying to reconnect # delay of 1 second after 10 times
Vsftp version 3.0.2
Root @ yimiju :~ # Vsftpd-v
Vsftpd: version 3.0.2
Solution:
Add a line at the end of the vsftp configuration file (/etc/vsftpd. conf:
Allow_writeable_chroot = YES
If you do not want to use vi or vim for editing, run the following command:
# Echo "allow_writeable_chroot = YES">/etc/vsftpd. conf
Restart the vsftpd service:
# Service vsftpd restart