From 07730799b63e6db47b7fd3581410e5c2b7aeeda4 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 2 Nov 2014 14:39:08 +0000 Subject: [PATCH] Improved admin UI performance --- orchestra/apps/orchestration/methods.py | 1 + 1 file changed, 1 insertion(+) diff --git a/orchestra/apps/orchestration/methods.py b/orchestra/apps/orchestration/methods.py index 3bc65fb1..b5185fc5 100644 --- a/orchestra/apps/orchestration/methods.py +++ b/orchestra/apps/orchestration/methods.py @@ -55,6 +55,7 @@ def BashSSH(backend, log, server, cmds): # Copy script to remote server sftp = paramiko.SFTPClient.from_transport(transport) sftp.put(path, remote_path) + sftp.chmod(remote_path, '0600') sftp.close() os.remove(path)