fsperms is a simple tool that allows permissions and ownership to be set to files or entire filesystems based on security templates. It is mostly useful for ensuring a sane state after source or package installations whose authors have different priorities or needs than yours.