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

After upgrading vsftpd to 2.3.5 you may be getting the following message when trying to log in.

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

This is due to the following update:

- Add stronger checks for the configuration error of running with a writeable
root directory inside a chroot(). This may bite people who carelessly turned
on chroot_local_user but such is life.

The problem is that your users root directory is writable, which isn’t allowed when using chroot restrictions in the new update. The following command will fix this problem, replace the directory with your users root:

chmod a-w /home/user

This is not a perfect solution as doing this can cause a few problems with things that need to write to the root directory.

A commenter, Dmitriy, has suggested 3 ways to also overcome this problem.

11 Comments Posted in Linux
Tagged 500 oops, chroot, vsftpd
WP Super Cache Benchmarks

Today I will be covering the amazing plugin WP Super Cache. If you’re ever listed on the front page of Digg or some other popular social media website your going to get flooded with visitors, which in turn will put a lot of pressure on your server to keep up with all the requests. On every page view PHP and MySQL is called and things are executed, this can put a lot of strain on your server if you happen to have a lot of active users. This is where WP Super Cache comes in.

WP Super Cache reduces this strain by storing a static HTML version of the current pages and posts. This In turn means that MySQL is called fewer times thus reducing the strain. When the page changes, such as when someone comments or the post is altered, this HTML cache is simply updated.

I’ve also included benchmarks so you can compare the different options it has.

Read on! →

No Comments Posted in WordPress
Tagged benchmark, compressed, plugin, speed, wp super cache