My permissions in Magento2.1 seem to be really messed up and I cant find an easy way to set them correct..
Currently the "www-data" user is owner of the "magento2 root folder". I have a second user "n1njawtf" which I need to connect to the ftp and change css files and such. Currently I always need to change owner of "magento2 root folder" to "n1njawtf", before I can edit the css files and such. After that I need to change owner back to "www-data" so its possible to view the store in browser...
Can anyone help me fix these permissions?