Skip to content

Commit e3f01f3

Browse files
authored
set job dir perms to be 0777 (#28)
1 parent 4d89dab commit e3f01f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chainlink/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import concurrent
33
import concurrent.futures
44
import logging
5+
import os
56
import tempfile
67

78
import docker
@@ -35,6 +36,7 @@ async def run_async(self, environ={}):
3536

3637
with tempfile.TemporaryDirectory(dir=self.workdir) as mount:
3738
logger.info("using {} for temporary job directory".format(mount))
39+
os.chmod(mount, 0o777)
3840

3941
for (idx, stage) in enumerate(self.stages):
4042
logger.info("running stage {}".format(idx + 1))

0 commit comments

Comments
 (0)