Fix permissions on generated updates