prmck is a tool for CRUX that allows you to check if any file system permissions are broken or different from the original (.footprint).
Scan all installed packages:
$ prmck all
Scan for packages installed on core ports:
$ prmck core
Scan and Fix permissions:
# prmck -f core
Help:
$ prmck -h