--- wp-admin/admin-functions.php.orig	2006-08-02 23:12:57.000000000 -0400
+++ wp-admin/admin-functions.php	2006-08-02 23:15:04.000000000 -0400
@@ -990,6 +990,7 @@
 		}
 
 		$f = fopen($filename, 'w');
+		chmod($filename, 0777);
 		$foundit = false;
 		if ($markerdata) {
 			$state = true;
