Fix bad permissions.