Upgrading the Media module from beta4 to beta5 (specifically, immediately after performing the database updates) breaks private downloads. The file download is skipped by file_file_download, but image_file_download no longer recognised the files as downloadable by image.module and passed the download back to file_file_download, which skips the download again, leading to a "Page not found error".
PASSED: [[SimpleTest]]: [MySQL] 11 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch media-2.x-private-files.patch. Unable to apply patch. See the log in the details link for more information. View