You do need to close Firefox, because Immunization is trying to alter a file currently in use (hostperm.1 or cookperm.txt in versions older than 3, permissions.sqlite afterward).