Skip to content

Commit 0c58f48

Browse files
authored
Merge pull request #625 from common-workflow-language/initworkdir-error
Fix writable directories staging
2 parents d15dc31 + b8121f0 commit 0c58f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def add_volumes(self, pathmapper, runtime):
341341
ensure_writable(host_outdir_tgt)
342342
elif vol.type == "WritableDirectory":
343343
if vol.resolved.startswith("_:"):
344-
os.makedirs(vol.target, 0o0755)
344+
os.makedirs(host_outdir_tgt, 0o0755)
345345
else:
346346
if self.inplace_update:
347347
runtime.append(u"--volume=%s:%s:rw" % (

0 commit comments

Comments
 (0)