I have installed vsftpd in ubuntu. I have created a user in name of ftpadmin by command
sudo useradd ftpadmin
and I have set its password too, I also have created a home directory for it using
sudo mkdir /home/ftp.
My problem is this user can access and see others directories which I don't want. I want ftpadmin can access only to it's own directory. I have tried to make a directory in var/www too but it didn't work.