What’s the best way of handling permissions for Apache 2’s user www-data in /var/www?

Attempting to expand on @Zoredache’s answer, as I give this a go myself: Create a new group (www-pub) and add the users to that group groupadd www-pub usermod -a -G www-pub usera ## must use -a to append to existing groups usermod -a -G www-pub userb groups usera ## display groups for user Change the … Read more