I have successfully installed the vsftpd. and it is live, but I get following error:
Response: 500 OOPS: cannot change directory:/home/sovit
What I want to do is direct all local users of the system to the /var/www
folder instead of their home root.
Below is the vsftpd conf file:
Any help would be appreciated.
Thank you.
Best Answer
nopriv_user
, assuming isftpsecure
ftpsecure
umask
of webserver user and vsftpd to 002chmod -R g+w /var/www
PS: As another way: you can change the $HOME folder of ftp user to the /var/www instead of setting
local_root
invsftpd.conf
.