View Single Post
  #14  
Old 17th July 2013, 19:42
lazant lazant is offline
Junior Member
 
Join Date: Jul 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fixing Error: OOPS: vsftpd: refusing to run with writable root inside chroot()

Followed the tutorial here to set up vsftpd on Ubuntu Server 12.0.4.2 and got the "OOPS: vsftpd: refusing to run with writable root inside chroot()" error. Followed these steps to remedy:
1. Add
Code:
chroot_list_enable=yes
chroot_list_file=/etc/vsftpd.chroot_list
to /etc/vsftpd.conf

2. Create a list of usernames
Code:
username1
username2
...
in /etc/vsftpd.chroot_list

3. Restart vsftpd
Code:
sudo service vsftpd restart
Hope this helps anyone else having the same issue.
Reply With Quote