I installed vsftpd successfully, but whenever I connect to the server via Filezilla, I see the default folder is
/root. How can I set up the default folder to be
/var/www once I connect?
If you want to login as root and go straight to
What you should be doing instead, though, is learning how to administer your server properly. That includes things like not sticking web content into
Because you are connecting as root and $HOME folder is
You should create a new ftp user without login shell:
(Remember to set
or setup virtual users.