Skip to content

Commit

Permalink
set job dir perms to be 0777 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushr2 authored Apr 23, 2020
1 parent 4d89dab commit e3f01f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chainlink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import concurrent
import concurrent.futures
import logging
import os
import tempfile

import docker
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit e3f01f3

Please sign in to comment.