Commit 63bf10ba by Michael DeHaan

Merge pull request #370 from sfromm/issue353

Fix for issue 353
parents abb391f3 5e5b4a90
......@@ -666,6 +666,9 @@ class Runner(object):
result, err = self._exec_command(conn, cmd, None, sudoable=False)
cleaned = result.split("\n")[0].strip() + '/'
if self.remote_user != 'root':
cmd = 'chmod a+x %s' % cleaned
result, err = self._exec_command(conn, cmd, None, sudoable=False)
return cleaned
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment