Skip to content

.command.run permission denied in 3.16.1, 3.17.0, 3.18.0 #1554

@givtrah

Description

@givtrah

Description of the bug

New versions of rnaseq pipeline fails when running the test pipeline under docker (and singularity, conda was not tested). 3.16.1, 3.17.0 and 3.18.0 is affected. 3.16.0 and 3.14.0 tested fine.

Command used and terminal output

run nf-core/rnaseq -r 3.16.0 -profile test,docker --outdir testout

Works

run nf-core/rnaseq -r 3.16.1 -profile test,docker --outdir testout

not working (3.17.0 and 3.18.0 gives the same error):

-[nf-core/rnaseq] Pipeline completed with errors-
WARN: Directive `process.shell` cannot contain new-line characters - offending value: [bash

set -e # Exit if a tool returns a non-zero status/exit code
set -u # Treat unset variables and parameters as an error
set -o pipefail # Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
]
ERROR ~ Error executing process > 'NFCORE_RNASEQ:PREPARE_GENOME:GUNZIP_ADDITIONAL_FASTA (gfp.fa.gz)'

Caused by:
  Process `NFCORE_RNASEQ:PREPARE_GENOME:GUNZIP_ADDITIONAL_FASTA (gfp.fa.gz)` terminated with an error exit status (126)


Command executed:

  # Not calling gunzip itself because it creates files
  # with the original group ownership rather than the
  # default one for that user / the work directory
  gzip \
      -cd \
       \
      gfp.fa.gz \
      > gfp.fa
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_RNASEQ:PREPARE_GENOME:GUNZIP_ADDITIONAL_FASTA":
      gunzip: $(echo $(gunzip --version 2>&1) | sed 's/^.*(gzip) //; s/ Copyright.*$//')
  END_VERSIONS

Command exit status:
  126

Command output:
  (empty)

Command error:
  /bin/bash: line 10: .command.run: Permission denied

Work dir:
  /home/givtrah/test/work/f5/a89cb7f2a3d6a658b5cdc768a35afe

Container:
  quay.io/nf-core/ubuntu:22.04

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line

 -- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '.nextflow.log' file for details

Relevant files

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions