These are chat archives for nextflow-io/nextflow

7th
Dec 2017
Benjamin Wingfield
@nebfield
Dec 07 2017 12:27
I'm trying to run a process in a docker container but I'm getting the following message:
touch: cannot touch '.command.trace': Permission denied
Sorry about not replying earlier about the timeline problems also Paolo. I suspect it's because my docker image doesn't have the correct date and time
Paolo Di Tommaso
@pditommaso
Dec 07 2017 12:37
it sounds like a permission problem because the container images uses a custom user
Benjamin Wingfield
@nebfield
Dec 07 2017 12:38
yeah I just went into interactive mode and you're right
does it have to be root?
Paolo Di Tommaso
@pditommaso
Dec 07 2017 12:39
try to add this setting in your nextflow.config file
docker.runOptions = '-u $(id -u):$(id -g)'
Benjamin Wingfield
@nebfield
Dec 07 2017 12:40
ah, you're a wizard
thank you!
Paolo Di Tommaso
@pditommaso
Dec 07 2017 12:40
:)