Make sure the copied files have sane permission bits.

From: Masoud Asgharifard Sharbiani <masouds@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@911 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index 5b291a9..d4d2e84 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -471,6 +471,8 @@
 			utils.run('scp -rpq %s %s' % (
 			    " ".join(processed_source),
 			    remote_dest))
+		self.run('find "%s" -type d | xargs -r chmod o+rx' % dest)
+		self.run('find "%s" -type f | xargs -r chmod o+r' % dest)
 
 	def get_tmp_dir(self):
 		"""