Fix permissions after update