ProFTP Mod Vroot

I recently upgraded my personal server at home to Ubuntu 12.04 LTS. A day later, I realized the ProFTP server is no longer working. I’m not able to login at all. So, I restarted the ProFTP daemon and I was getting an error that says:

Fatal: LoadModule: error loading module ‘mod_vroot.c’: Operation not permitted on line 74 of ‘/etc/proftpd/modules.conf’

The ProFTP mod_vroot module was not required in previous Ubuntu versions. When I upgraded to Ubuntu Server 12.04 LTS, it was displaying an error because the mod_vroot was not installed. To fix the problem, I just needed to open the Terminal and install the ProFTP mod_vroot module.

sudo apt-get install proftp-mod-vroot

In case you are wondering, the mod_vroot module implements a virtual chroot capability that does not require root privileges. The mod_vroot module provides this capability by using ProFTPD’s FS API. It also allows one to map a directory out of the user chroot as an alias in the chroot for sharing common directories.

In case, you have the same issue, this is an easy fix.