Posted by Michael Alfaro on May 11, 2012

Getting vsftpd user working on a Rackspace Cloud server

Thanks to Tim Carter from Pedrera on getting me this info: http://www.pedrera.com/blog/expressionengine-on-rackspace-cloud/

Other links that helped me: https://help.ubuntu.com/11.10/serverguide/ftp-server.html
http://www.howtogeek.com/howto/ubuntu/add-a-user-on-ubuntu-server/

5. Install FTP Server

I used vsftpd (https://help.ubuntu.com/10.10/serverguide/C/ftp-server.html), but you can use whatever you prefer. Be sure to follow FTP software documentation to ensure proper security!

sudo apt-get install vsftpd

6. Set the permissions on the web directory

The user created in step 1 (Rackspace Server Setup) should have their home directory set to /var/www. Use this command:

sudo usermod -d /var/www yourusername

Now set this user as the owner:

sudo chown yourusername /var/www sudo chgrp yourusername /var/www -Rv

Topics: , , ,

Add a Comment