I have set up the following stack: Nginx, php-fpm and Pure-FTPD on a debian 6.
In order for PHP-FPM pools to run under each different user I have created a system user for each website I host under
I have set up pure-ftpd with mysql virtual users support (pure-ftpd-mysql). It works and I can read the files under
/var/www/example.com . However I can't write or edit anything because they're owned by the Example user.
I know a possible solution would be to have 775 permissions for
/var/www/example.com (pure-ftpd's user and Example user are in the same group), but I don't want it this way... .
So is there another (possibly better way) to have pure-ftpd's user full access to