summaryrefslogtreecommitdiffhomepage
path: root/kokoro/ubuntu1604
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro/ubuntu1604')
-rwxr-xr-xkokoro/ubuntu1604/40_kokoro.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/kokoro/ubuntu1604/40_kokoro.sh b/kokoro/ubuntu1604/40_kokoro.sh
index 27366e83d..1b1ae5de4 100755
--- a/kokoro/ubuntu1604/40_kokoro.sh
+++ b/kokoro/ubuntu1604/40_kokoro.sh
@@ -31,6 +31,7 @@ if useradd -c "kbuilder user" -m -s /bin/bash kbuilder; then
mkdir -p ~kbuilder/.ssh
(IFS=$'\n'; echo "${ssh_public_keys[*]}") > ~kbuilder/.ssh/authorized_keys
chmod 0600 ~kbuilder/.ssh/authorized_keys
+ chown -R kbuilder ~kbuilder/.ssh
fi
# Give passwordless sudo access.