Joseph Herlant
version 1.0.0, 2014-07-10 : Initial version

Here we are moving the vsftpd root directory from /var/ftp to /opt/share/ftp. Tested on Centos 6.5.

# First, verify that the target directory does not exists
ll /opt/share/ftp # Should return an error message. If not, move it.
# Stop vsftpd service
service vsftpd stop
# Move the home directory of the user and set the SELinux context
usermod -m -d /opt/share/ftp
chcon -t public_content_t /opt/share/ftp
# Finally restart vsftpd service
service vsftpd start