Still confused by Permissions - linux, nginx, php-fpm

view full story

http://serverfault.com – I have read the canonical answer at What are the best linux permissions to use for my website? However I'm still stuck. My setup is: A developer user 'ade' who owns the directories and files that comprise a website The server is nginx with php-fpm via a socket: fastcgi_pass unix:/tmp/php5-fpm.sock; Website contains an uploads directory that must be writable by PHP when running in this configuration I don't want to set permissions to 777, obviously I have created a webadmin group and added both 'ade' and nginx to it: $ groups ade ade : ade webadmin $ groups nginx nginx : nginx webadmin (HowTos)