From 6592360ac358d2ef2f5c7788010db4d8da44fc9c Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 10 Mar 2023 13:53:39 -0500 Subject: [PATCH] Add execute permissions to artifacts --- Client/Client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Client/Client.py b/Client/Client.py index 4e00df9..d3b6a6a 100644 --- a/Client/Client.py +++ b/Client/Client.py @@ -780,6 +780,10 @@ def download_engine(arguments, workload, branch, network): unzip_delete_file('artifact.zip', 'tmp/') output_name = os.path.join('tmp', engine.replace(' ', '').lower()) + # Binaries don't have execute permissions by default + if IS_LINUX: + os.system('chmod 777 %s\n' % (output_name)) + if not private: # Download and unzip the source from Github