common-workflow-language / common-workflow-language/cwltool

attempts to write to /var/lib/cwl with docker hint but no docker installed

オープン
#213 コメント 21 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
376
フォーク
255
平均マージ
2日 7時間
マージ済み PR(30日)
12

説明

On the 2 systems I have available to me (one of them Ubuntu 16), /var/lib is not user writable, so running the conformance test fails:

```
cwltest --tool cwltool --test=conformance_test_v1.0.yaml --junit-xml result.xml --basedir v1.0
Test [1/82] Got workflow error
Traceback (most recent call last):
File "/software/[...]/python-2.7.12/lib/python2.7/site-packages/cwltool/main.py", line 223, in single_job_executor
r.run(**kwargs)
File "/software/[...]/python-2.7.12/lib/python2.7/site-packages/cwltool/job.py", line 149, in run
stageFiles(self.pathmapper, os.symlink)
File "/software/[...]/python-2.7.12/lib/python2.7/site-packages/cwltool/process.py", line 176, in stageFiles
os.makedirs(os.path.dirname(p.target), 0755)
File "/software/[...]/python-2.7.12/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/software/[...]/python-2.7.12/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/cwl'
```

Is this expected, and will I hit the same problem trying to run "real" cwl scripts? That is, is sudo required to use cwltool fully?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。