Skip to content

Fix file creation after SRC CO update#371

Merged
dometto merged 1 commit intomainfrom
fix-co-update
Mar 4, 2026
Merged

Fix file creation after SRC CO update#371
dometto merged 1 commit intomainfrom
fix-co-update

Conversation

@dometto
Copy link
Copy Markdown
Member

@dometto dometto commented Mar 4, 2026

The SRC-CO component has received an update for security (?) reasons:

https://gitlab.com/rsc-surf-nl/plugins/plugin-co/-/commit/dd0f206c75843cb76f17a29866f1e06aed4bab6c

Part of this update is that workspace users' primary group id's are set to the same group, i.e. a groupid corresponding to the integer id of the collaboration.

This was leading to trouble because our runonce role assumes that the group id for files should be the same as the username.

This PR attempts to fix the issue by explicitly using the groupid passed in by fact_regular_users to create files.

The role previously assumed the group for created files for user foo should be 'foo'. This assumption is false if users have a different primary group id (for instance, if all users share the same primary group), which then leads to failures because group 'foo' does not exist.
@dometto dometto merged commit 4b45c7f into main Mar 4, 2026
5 checks passed
@dometto dometto deleted the fix-co-update branch March 4, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant