Support a platform where the nobody group has a different name

This commit is contained in:
Jean-Paul Calderone 2019-04-04 14:19:31 -04:00
parent 16b13f6f0e
commit a8f6ff6d36

View File

@ -23,7 +23,7 @@ usermod --home /tmp/nobody nobody
# Grant read access to nobody, the user which will eventually try to test this
# checkout.
chown --recursive nobody:nogroup "${PROJECT_ROOT}"
chown --recursive nobody:$(id --group nobody) "${PROJECT_ROOT}"
sudo --set-home -u nobody "${PROJECT_ROOT}"/.circleci/create-virtualenv.sh "${WHEELHOUSE_PATH}" "${BOOTSTRAP_VENV}"
sudo --set-home -u nobody "${PROJECT_ROOT}"/.circleci/populate-wheelhouse.sh "${WHEELHOUSE_PATH}" "${BOOTSTRAP_VENV}" "${PROJECT_ROOT}"