? .cache
? .project
? .projectOptions
? files
? test.patch
? includes/image.imagemagick.inc
? misc/Thumbs.db
? misc/farbtastic/Thumbs.db
? sites/all/modules
? sites/default/settings.php
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.149
diff -u -p -u -p -r1.149 system.install
--- modules/system/system.install	3 Sep 2007 14:13:58 -0000	1.149
+++ modules/system/system.install	5 Sep 2007 17:11:55 -0000
@@ -3561,6 +3561,9 @@ function system_update_6022() {
       break;
   }
 
+  // Mark all existing files as FILE_STATUS_PERMANENT.
+  $ret[] = update_sql('UPDATE {files} SET status = 1');
+
   return $ret;
 }
 
