I recently migrated from Apache on shared server to nginx on a VPS. I installed and configured vsftp in a manner that whenever I add a new user on server, its accessible by ftp.
Now to problem is that whenever i try to upload or delete a file, connection either times out or it says "permission denied". It works only when i keep the permissions to
777 which I think is not recommended.
Please provide a detailed explanation with possible solution.