Wikia code/includes/Cdb.php

--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\Cdb.php	2011-07-18 22:31:28.168945300 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\Cdb.php	2011-08-17 15:28:46.530273400 +0100
@@ -137,6 +137,7 @@
 		if ( !rename( $this->tmpFileName, $this->realFileName ) ) {
 			throw new MWException( 'Unable to move the new CDB file into place.' );
 		}
+		chmod( $this->realFileName, 0664 );
 		unset( $this->handle );
 	}