Normalize some file permissions.