Ubuntu – Set FTP User default directory to /var/www Ubuntu Server

apache-2.2ftpsftpUbuntu

Trying to figure out the best way to set the default directory for the few FTP users we have (3 in-house developers who need access simply to the WWW directory). Want to just set it so that if any of those three login via FTP they're automatically put into the WWW directory so they can create directories for projects, see existing projects, etc.

Any idea how this is best done? I've installed vsftpd – but don't know how to set a 'default' directory that FTP users log into.

Thanks in advance.

Best Answer

Went into /etc/passwd and updated the home directory for those users to point to /var/www!