I have my local development machine running Arch Linux, Nginx, PHP-FPM and MySQL.
In order for the websites I am working on to run the files need to be owned by the http user. The files are currently located in folders like this:
When I use the following chown command on the http folder the sites work fine, but I cannot edit the files with my user:
chown -R http.users /srv/http
When I do this the sites do not work, but I can edit the files:
chown -R shane.http /srv/http
How can I make it so that my user can edit the files, and the web server can run them at the same time?