def METHOD_NAME(self):
    doc = self.make_test_data()
    os.chmod(doc.archive_path, 0o000)
    self.assertSanityError(doc, "Cannot read archive file of document")
    os.chmod(doc.archive_path, 0o777)