]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
set permission for config file
authortamil <tamil.muthamizhan@inktank.com>
Thu, 16 May 2013 20:14:06 +0000 (13:14 -0700)
committertamil <tamil.muthamizhan@inktank.com>
Thu, 16 May 2013 20:14:06 +0000 (13:14 -0700)
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
teuthology/task/ssh_keys.py

index dd04ac1ebcb6eee3f4849c3788e817a7f47b1dca..5fbc2e3dab36a9ce34a76230e8d3412ce6abd64d 100644 (file)
@@ -80,6 +80,8 @@ def tweak_ssh_config(ctx, config):
                 run.Raw('/dev/null'),
                 run.Raw('>>'),
                 run.Raw('/home/ubuntu/.ssh/config'),
+                run.Raw('&&'),
+                run.Raw('chmod 600 /home/ubuntu/.ssh/config'),
             ],
             wait=False,
         )