Is there any piece of code that sets the newly created websites permissions. For example, what I would like to do is whenever a new site is generated, automatically have its group be www-data as opposed to web*. Thanks
The site permissions are set by the function make_vhost n the file /root/ispconfig/scripts/lib/config.lib.php But you should consider to switch from mod_php to suphp so there is no change of permissions needed as your php scripts will run then as webx user and group. The only drawback is that suphp is not optimal for high traffic sites. There is a tutorial here on howtoforge available that explains the installation of suphp for ispconfig.