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

InitialWorkDir contents must be read-only by default

Open
#673 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Python
Stars
376
Forks
255
Avg merge
2d 7h
Merged PRs (30d)
12

Description

Related conformance test: https://github.com/common-workflow-language/common-workflow-language/issues/591

Implementation hints:

- before staging, record the permission bits of the files
- try to change the permission bits of the files recursively to be read-only for all users, the file's group, the file's user

(this is the equivalent of:
```
chmod -R a-r
```
and if that fails
```
chmod -R o-r
chmod -R g-r
chmod -R u-r
```
)
- after the step execution, write back the permission bits.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.