our apache runs as www-data:psacln
if this line is run;
<?php file_put_contents("./file.txt","");
then apache creates this file without write permission to the group,
-rw-r--r-- 1 www-data psacln 9 2010-02-25 16:17 file.txt
How can I set our ubuntu/apache so that it gives the group write permission by default upon creating files/folders within web sites?