From d37ee228aebd645b9a36e3fbfd9753f45ff80e22 Mon Sep 17 00:00:00 2001 From: Michel Kaporin Date: Tue, 20 Jun 2017 09:13:53 +0200 Subject: [PATCH] Chown of root home folder to prevent EACCES errors when running 'npm install' programmatically. --- build/tfs/linux/smoketest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tfs/linux/smoketest.sh b/build/tfs/linux/smoketest.sh index c9617a5d00b..c6ef34ad766 100644 --- a/build/tfs/linux/smoketest.sh +++ b/build/tfs/linux/smoketest.sh @@ -30,7 +30,7 @@ function configureEnvironment { git config --global user.name "VS Code Agent" git config --global user.email "monacotools@microsoft.com" chown -R testuser $AGENT_BUILDDIRECTORY - chown -R testuser /root/.npm + chown -R testuser /root # to allow 'npm install' to succeed in Express repository } function runTest {