Add section to fix permissions

This commit fixes all issues reported by security(8).

This is the wrong way to do this. The owner and modes should be set
correctly in the tarball rather than after unpacking the tarball. In the
meantime this will have to do.