Skip to content

Commit 2f0ad08

Browse files
author
Anton Khodak
committed
Fix writable directory staging inside Singularity
1 parent c04d991 commit 2f0ad08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/singularity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def add_volumes(self, pathmapper, runtime, stage_output):
113113
ensure_writable(host_outdir_tgt)
114114
elif vol.type == "WritableDirectory":
115115
if vol.resolved.startswith("_:"):
116-
os.makedirs(vol.target, 0o0755)
116+
os.makedirs(host_outdir_tgt, 0o0755)
117117
else:
118118
if self.inplace_update:
119119
runtime.append(u"--bind")

0 commit comments

Comments
 (0)