? fix-import_2.diff
? image_222977.patch
? image_chmod_0.patch
Index: image.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.module,v
retrieving revision 1.258.2.6
diff -u -p -r1.258.2.6 image.module
--- image.module	13 Apr 2008 23:56:10 -0000	1.258.2.6
+++ image.module	18 Apr 2008 00:17:25 -0000
@@ -983,6 +983,10 @@ function _image_build_derivatives(&$node
       drupal_set_message(t('Unable to create scaled %label image', array('%label' => $size['label'])), 'error');
       return FALSE;
     }
+
+    // Set standard file permissions for webserver-generated files
+    @chmod($destination, 0664);
+
     $node->images[$key] = $destination;
     module_invoke_all('image_alter', $node, $destination, $key);
   }
