summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2016-05-27 21:25:19 -0500
committerVishal Bhoj <vishal.bhoj@linaro.org>2016-06-01 18:26:26 +0530
commit05149993ff68a33e318d45d1ab9a978d68135fb1 (patch)
treef9d978fab1124f5eed7852e2eeb0cbf473e13b26
parentace39e6ed81913731131a623b0f2411cb10caff8 (diff)
downloadart-build-tests.sh-master.tar.gz
setup-host: Change permissions only for ~/.ssh/config.HEADmaster
With the recent changes to Docker, where permissions are set from the host and is not easy to change from within the instance, it's important to only change what is needed. SSH _recommends_ setting non-read permissions for authorized_keys for other users, but does not require it; the config file, on the other hand does require non-readable access to other users. Change-Id: I6614d6c7b2f04ff49e73298b049a28c9cc542b3d Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
-rwxr-xr-xsetup-host.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-host.sh b/setup-host.sh
index e8701cc..835cba5 100755
--- a/setup-host.sh
+++ b/setup-host.sh
@@ -57,7 +57,7 @@ Host dev-private-git.linaro.org
Host dev-private-review.linaro.org
User git
EOF
-chmod 0600 ~/.ssh/*
+chmod 0600 ~/.ssh/config
java -version
sudo apt-get update