Adds PermissionError in prep for more robust errors.