Ubuntu 12.04 Fixing "500 OOPS: vsftpd: refusing to run with writable root inside chroot ()"

Needed to migrate a vsftpd installation from CentOS 5.9 to Ubuntu 12.04, previous server is configured for  chrooted virtual users and libpam-pwdfile for authentication.

Long story short new version of vsftpd that comes with ubuntu gives you the error

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

when you try to configure it.


Several suggestions for fixing it here: https://www.benscobie.com/fixing-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot/#comment-2051

TLDR; solved it by installing a deb package from ubuntu repositories.

http://us.archive.ubuntu.com/ubuntu/pool/main/v/vsftpd/

Comments

Popular Posts