Hey all, I followed through the pureftpd with mysql backend tutorial. It works well! But I also have apache 2 running on the same machine. I'm not sure how to do the file permissions... pureftpd runs as ftpuser and apache runs as www-data. However I want an ftp user to be able to delete/upload/download files from a web folder. (www.domain.tld) Should I make apache and ftp run as the same user?
I'd chown the web folder to ftpuser. As long as you don't upload files through Apache (through a web form), this should work fine. If you are the only user on the server, you could as well do a chmod 777 on the web folder.