Are you asking because the permissions have been changed? I'm not sure that permissions would have anything to do with a database error, but the easiest way of finding out would be to revert the permissions.
Otherwise, as sbillard said, you'll need to figure out the root of the error before we can really have any idea what exactly is happening.