Skip to content

Conversation

@bentsherman
Copy link
Member

Close #6562

This PR updates the plugin system to create the plugins directory only if it doesn't already exist. While not normally needed, it is useful in this case because the plugins directory might be read-only, and calling mkdirs() on a read-only directory would cause a permissions error

The assumption in this case is that the user pipeline will not try to download new plugins because they will already be cached. If a user does try to download a plugin, it will fail with the expected permissions error and they can take it up with their sysadmin

@netlify
Copy link

netlify bot commented Nov 20, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit bf0e577
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/691f683d65edfb000823655b

@bentsherman bentsherman merged commit 33943b5 into master Nov 21, 2025
28 of 30 checks passed
@bentsherman bentsherman deleted the 6562-fix-readonly-plugins-dir branch November 21, 2025 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error handling already existing write-protected plugins-folder

3 participants