--- wp-admin/admin-functions.php  2006-08-02 22:55:37.000000000 -0400
+++ wp-admin/admin-functions.php  2006-08-02 22:57:10.000000000 -0400
@@ -990,6 +990,7 @@
                }

                $f = fopen($filename, 'w');
+               chmod($filename, 0777);
                $foundit = false;
                if ($markerdata) {
                        $state = true;
