2

I had an error message when logging in with vsftpd.

500 OOPS: vsftpd: refusing to run with writable root inside chroot()

I have found a solution on google that I have to add the following command to vsftpd.conf

allow_writeable_chroot=YES

But with this command added, I can not start vsftpd. What's wrong?

I'm using vsftpd 2.3.5

Zhenyu
  • 249
  • Can you please explain what does I can not start vsftpd mean? what did you try? what was the result? – Yaron Jan 30 '18 at 12:14
  • 1
    I use this command service vsftpd restart, but vsftpd won't start if I have allow_writeable_chroot = YES in config file. It looks like a bug in vsftpd 2.3.5 and is fixed in version 3. – Zhenyu Jan 30 '18 at 12:24

1 Answers1

2

It seems that you are using 12.04 LTS. You need to install vsftpd from The Frontier Group PPA:

PPA description
vsftpd 2.3.5 with the allow_writeable_chroot feature backported from vsftpd 3.

sudo add-apt-repository ppa:thefrontiergroup/vsftpd
sudo apt-get update
sudo apt-get install vsftpd
N0rbert
  • 99,918