If you updated recently your system to Debian wheezy and you are using vsftpd with enabled chrooted local users …
[~] # grep -i ^chroot_local_user=yes /etc/vsftpd.conf | tail -1 chroot_local_user=YES
… you maybe faced with the following problem:
500 OOPS: vsftpd: refusing to run with writable root inside chroot() Login failed.
This problem raised already in Bug #656900 and it was fixed by adjusting the documentation. Beside that there maybe configurations you want to relax such a strict check. Unfortunately this feature was implemented in version 3.0.0 which is not part of Debian wheezy:
- Add new config setting "allow_writeable_chroot" to help people in a bit of a spot with the v2.3.5 defensive change. Only applies to non-anonymous.
The Frontier Group created a patched package of vsftpd for Ubuntu. After reviewing the patch we decided to also create a Debian package for wheezy.
You can easily install the package by the following sniplet:
echo "deb http://ftp.cyconet.org/debian wheezy-updates main non-free contrib" >> \ /etc/apt/sources.list.d/wheezy-updates.cyconet.list; \ aptitude update; aptitude install -t wheezy-updates debian-cyconet-archive-keyring vsftpd && \ echo "allow_writeable_chroot=YES" >> /etc/vsftpd.conf && /etc/init.d/vsftpd restart
Updates, in case of bugfixes in Debian wheezy, should be also available through this distribution channel.
![[Anti-Flashmod @mensa]](http://farm9.staticflickr.com/8375/8570610397_50e93c0919_c.jpg)
![[Preparing for Eastern]](http://farm9.staticflickr.com/8102/8571662868_75380db929_b.jpg)
![[Chemnitzer Linux-Tage 16. und 17. März 2013]](http://chemnitzer.linux-tage.de/2013/media/CLT2013-oechai6a.png)
![[Learning how to branch with git]](/upload/media/2013/02/learninggitbranching.png)
![[ClusterSSH]](/upload/media/2013/02/ClusterSSH.jpg)
![[coffeestats]](/upload/media/2013/02/coffeestats.png)
![[Music box of my daughter]](/upload/media/2013/01/IMG_5944.jpg)