During the setting up vsftpd(2.3.5-3) daemon in Debian Wheezy, I found the following error 500 OOPS: vsftpd: refusing to run with writable root inside chroot() when you try to open ftp connection to the server.This appears when chroot_local_user=YES option is enabled in
/etc/vsftpd.conf.Many people had the same problem.This is BUG which is already reported.We can fix this problem with additional patch.
deb http://ftp.cyconet.org/debian wheezy-updates main non-free contrib
aptitude install -t wheezy-updates debian-cyconet-archive-keyring vsftpd
service vsftpd restart
root@debian:~# dpkg -l | grep vsftpd
ii vsftpd 2.3.5-10~update.1 i386 lightweight, efficient FTP server written for security