From ba6e3249d2bc1e125a95ea2fc13ac7b130c2059a Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Mon, 1 May 2017 13:02:43 +0100 Subject: [PATCH] Change ssh/config permissions to 600 ssh/config permissions are 664 currently, causing error `Bad owner or permissions on /home/jenkins/.ssh/config` http://logs.openstack.org/68/461368/1/check/gate-kolla-ansible-dsvm-deploy-centos-binary-centos-7-nv/0a94da7/console.html#_2017-05-01_12_06_08_440775 config file should only be writen by owner. Closes-Bug: #1687408 Change-Id: Id804f11a91858fa297e5236beb2110e3511eabec --- tools/setup_gate.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh index c5340d766e..6869925242 100755 --- a/tools/setup_gate.sh +++ b/tools/setup_gate.sh @@ -116,6 +116,7 @@ function setup_ssh { # From now on use the new IdentityFile for connecting to other hosts echo "IdentityFile /home/jenkins/.ssh/kolla" >> /home/jenkins/.ssh/config + chmod 600 /home/jenkins/.ssh/config } function setup_inventory {