Im developing a WordPress site on a Linux computer and Im running nginx
with php-fpm
. By default nginx
is running from www-data
user and www-data
group.
But with this, when I try to install a plugin to WordPress, it asks for FTP details. To overcome this, I simply changed the group of my site folder to www-data
but in this case I can't edit the files. Files are write protected.
is there any way to add my local user to www-data
group and overcome this issue without any hacks?