Rebuild permissions after installation