I'm trying to configure my apache server on Debian 7. I have the following configuration: Every linux user has a folder in the /home directory. In their user directory, they have a www dirctory. So, their apache root directory is /home/bob/www/ My question is: what permission should I set for the www directory? So far, I've added the www-data user to each group of each user (say, if I have users bob and pete, www-data is a member of both groups bob and pete), and set their root directory permissions to 774. Is this the right way to do it?
Thanks in advance