Search code examples
permissionsnextflow

Nextflow: permission denied for files in bin with -rwxrwxr-x permissions granted


I've made a fresh install of nextflow in a new computer, and I was trying to test the nf-core/rnaseq pipeline, but I am receiving the following error when executing:

Error executing process > 'NFCORE_RNASEQ:RNASEQ:INPUT_CHECK:SAMPLESHEET_CHECK (samplesheet.csv)'

Command error:
  .command.sh: line 3: /media/Data/nextflow-rnaseq/rnaseq/bin/check_samplesheet.py: Permission denied

I've checked the permissions for the file, and has all the executing permissions:-rwxrwxr-x. I've also tried to execute it using both my working environment and singularity, and keep finding the same error.

I've also tested my own pipeline, with another project root folder and its own bin folder with custom scripts in there, and I'm having the same error.

Does anyone know if I'm missing something I should have done to make the scripts in bin accessible to nextflow?

Nextflow version: 22.04.4.5706


Solution

  • As Steve pointed out in a comment, the issue was related to how the filesystem was mounted (noexec), and fixing that solves the problem