Digital Mages - fsperms

fsperms

fsperms is a simple tool to apply permission and ownership
changes to entire filesystems based on security templates.

One might ask "why is such a tool is needed?" I've often found
source and package installs that place files with either bad or
insecure permissions and/or ownership. By establishing a security
template for a package I no longer have to remember or worry about
fixing such problems after package updates. I can use fsperms to
reapply the sane settings after every install or update.

Depending on the complexity of your desired settings it can also be
quicker to write a security template than it would be to manually apply
permissions in some cases.