Fix state-root tmp permission in setup-node-script

The owner and mode were being set incorrctly.