diff --git a/chainlink/__init__.py b/chainlink/__init__.py index fc2de03..67f857e 100644 --- a/chainlink/__init__.py +++ b/chainlink/__init__.py @@ -2,6 +2,7 @@ import concurrent import concurrent.futures import logging +import os import tempfile import docker @@ -35,6 +36,7 @@ async def run_async(self, environ={}): with tempfile.TemporaryDirectory(dir=self.workdir) as mount: logger.info("using {} for temporary job directory".format(mount)) + os.chmod(mount, 0o777) for (idx, stage) in enumerate(self.stages): logger.info("running stage {}".format(idx + 1))