Skip to content

nextflow executable is not executable on Linux #5861

@bounlu

Description

@bounlu

When installing or upgrading nextflow, the executable is placed / overwritten at the /usr/local/bin/ directory. However, the permissions do not include read mode for the group and others:

-rwx--x--x 1 user staff 17K Feb 24 17:44 nextflow

In Linux, non-readable file is also non-executable, so if the server admin installs it as root, the other users cannot execute it by default. Every time it has to be given read access:

sudo chmod +r /us/local/bin/nextflow

-rwxr-xr-x 1 root root 17K Feb 18 14:48 nextflow

This is troublesome, and there should be a better way to handle this, or just give 755 for the executable by default.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions