Ability to ignore write access requirement to plugins dir #3417
martinfthomsen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue no. 3416
Background
When running Nextflow v 22.10.0, the program fails if it does not have write access to the plugins directory.
When running on an offline cluster, there is no access to download anything at runtime, all resources are local and preinstalled. Thus there is no need to download new plugins.
Also, when running multi tenant (having many different users on the system) you want to protect the core from user meddling, so you do not want to provide write access to the plugins directory. It should be read only.
Currently our local workaround is to tell the users create a new plugins directory, and setting NXF_PLUGINS_DIR.
export NXF_PLUGINS_DIR=/path/to/some/private/dir
I tried looking at the source code for Nextflow, but I could not identify where the observed check happens.
New feature
I have requested an option to turn off plugins write access check, so that the pipeline does not fail?
Do anyone know of an alternative solution or have a better suggestion?
Kind regards.
Beta Was this translation helpful? Give feedback.
All reactions