Skip to content

Commit

Permalink
Merge pull request #625 from common-workflow-language/initworkdir-error
Browse files Browse the repository at this point in the history
Fix writable directories staging
  • Loading branch information
mr-c committed Jan 28, 2018
2 parents d15dc31 + b8121f0 commit 0c58f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwltool/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def add_volumes(self, pathmapper, runtime):
ensure_writable(host_outdir_tgt)
elif vol.type == "WritableDirectory":
if vol.resolved.startswith("_:"):
os.makedirs(vol.target, 0o0755)
os.makedirs(host_outdir_tgt, 0o0755)
else:
if self.inplace_update:
runtime.append(u"--volume=%s:%s:rw" % (
Expand Down

0 comments on commit 0c58f48

Please sign in to comment.