Index: yui_editor.module
===================================================================
--- yui_editor.module	(revision 1582)
+++ yui_editor.module	(working copy)
@@ -241,6 +241,7 @@
     print drupal_to_js($response);
     exit;
   }
+  file_set_status($file, FILE_STATUS_PERMANENT);
   
   $response->status = 'UPLOADED';
   $response->image_url = $file->filepath;
