From 0e17309b5719dd525837ff5991700207f64c161a Mon Sep 17 00:00:00 2001 From: Crag Wolfe Date: Tue, 29 Aug 2023 21:40:04 -0700 Subject: [PATCH] as root --- scripts/docker-smoke-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker-smoke-test.sh b/scripts/docker-smoke-test.sh index 4dad919e84..8c78c2e957 100755 --- a/scripts/docker-smoke-test.sh +++ b/scripts/docker-smoke-test.sh @@ -39,7 +39,7 @@ await_container # Run the tests docker cp test_unstructured_ingest $CONTAINER_NAME:/home/notebook-user -docker exec "$CONTAINER_NAME" /bin/bash -c "chown -R 1000:1000 /home/notebook-user/test_unstructured_ingest" +docker exec -u root "$CONTAINER_NAME" /bin/bash -c "chown -R 1000:1000 /home/notebook-user/test_unstructured_ingest" docker exec "$CONTAINER_NAME" /bin/bash -c "/home/notebook-user/test_unstructured_ingest/test-ingest-wikipedia.sh" result=$?