title: Setting the umask of the Apache user
body: <p>I am setting up a LAMP server and would like to set Apache's umask setting to 002 so that all Apache-created files have the group write permission bit set  (so members of the same group can overwrite the files).</p>
  
  <p>Does anyone know how to do this?  I know that on Ubuntu, you can use the /etc/apache2/envvars file to configure the umask, but the server is running CentOS.</p>
  
  <p><strong>Update</strong>
  This question is related to another I asked a while ago (<a href="https://stackoverflow.com/questions/174715/linux-users-and-groups-for-a-lamp-server">Linux users and groups for a LAMP server</a>).  If prefered, please update this other question with what the best set-up is to use for having a developer user on a server that can edit files created by the apache user.</p>