install-eg.sh: handle permission assignment better on prod