--- yui_editor.module~	2008-06-22 19:51:34.000000000 -0500
+++ yui_editor.module	2008-07-15 14:21:56.000000000 -0500
@@ -241,6 +241,9 @@ function yui_editor_image_upload() {
     print drupal_to_js($response);
     exit;
   }
+
+  // Set it to permanent so it doesn't get wiped on the next cron run!
+  file_set_status(&$file, FILE_STATUS_PERMANENT);
   
   $response->status = 'UPLOADED';
   $response->image_url = $file->filepath;
