Voicemail Light Issues

I copied the voicemail folders / files from a trixbox system to a freepbx distro system and now I am having issues with voicemail lights on the phones. What are the correct permissions for these files? Is there a script I can run to fix this or any other method to resolve what I assume is file permission issues.