diff --git a/file_entity.install b/file_entity.install
index 6f07b91..5d17726 100644
--- a/file_entity.install
+++ b/file_entity.install
@@ -533,6 +533,13 @@ function file_entity_update_7203() {
     'view file' => 'view files',
     'edit file' => 'edit any files',
   );
+  //If we find old permission records, first delete the new records, 
+  //(autogenerated on module enable) to not get exceptions. 
+  //See drupal.org/node/2073317.
+  db_delete('role_permission')
+    ->condition('permission', 'view file')
+    ->condition('module', 'file_entity')
+    ->execute();
   foreach ($permissions as $old => $new) {
     db_update('role_permission')
       ->fields(array('permission' => $new))
