The extra TMPDIR was not writable except as root. This is not the only fix needed for this goal, but is necessary.