Chromium Code Reviews| Index: tools/telemetry/telemetry/core/platform/cros_interface.py |
| diff --git a/tools/telemetry/telemetry/core/platform/cros_interface.py b/tools/telemetry/telemetry/core/platform/cros_interface.py |
| index a53afe3cfb3d6f29995ecb8abcf2ca3f09a6e3e7..504b9946c9bd7c2cd98afde39a908ef65109dedc 100644 |
| --- a/tools/telemetry/telemetry/core/platform/cros_interface.py |
| +++ b/tools/telemetry/telemetry/core/platform/cros_interface.py |
| @@ -6,6 +6,7 @@ import logging |
| import re |
| import os |
| import shutil |
| +import stat |
| import subprocess |
| import tempfile |
| @@ -93,6 +94,7 @@ class CrOSInterface(object): |
| if ssh_identity: |
| self._ssh_identity = os.path.abspath(os.path.expanduser(ssh_identity)) |
| + os.chmod(self._ssh_identity, stat.S_IREAD) |
|
ilja
2014/10/10 23:35:10
I think you want stat.S_IREAD | stat.S_IWRITE as y
achuithb
2014/10/10 23:47:30
I've changed the description to say 400. Doesn't s
|
| # Establish master SSH connection using ControlPersist. |
| # Since only one test will be run on a remote host at a time, |