I have installed proftpd on my server, I tried to connect to the server but I get LOGIN INCORRECT. I have seen the log and I found this:
Apr 26 13:02:39 vmi**** proftpd vmi*****.*********.com (*********[::ffff:...*]): notice: unable to use '~/' [resolved to '/home/lighttpd/vhosts/mywebsite.com/web/']: Permission denied
The permission of /home/lighttpd/vhosts/mywebsite/web are:
drwxr-x--- 2 mywebsite.com mywebsite.com 4096 2011-04-26 12:04 web
PROFTPD runs with proftpd:proftpd permissions.
TO solve this I have added proftpd user to mywebsite.com group.
Take a look at /etc/group
So I have added proftpd to the group and set RW permissions to /web directory.
I don't understand why I get PERMISSION DENIED.