I have multiple users with apache installed on ubuntu 14.04 server.
How should I set user's groups or/and their home dir permissions so users could not read each others home dirs, but on the other hand to let apache read their home dirs (virtual hosts are set so that all users have their own subdomain located in their own home dir).
So it should be critical that users cant read other users home directories nor their virual host dir (/home/other_user/www/), but apache should be (obviusly) allowed to read their "virual host appointed" (/home/other_user/www/) dir