Skip to content

Conversation

lexming
Copy link
Contributor

@lexming lexming commented Sep 11, 2025

In VUB we are going to start controlling access to our VOs with ACLs. To this end we need that vsc-administration attaches the configured ACLs on creation of new VOs.

This is controlled through the configuration in /etc/filesystem_info.conf (VscStorage). If the VO is created in a filesystem that has acl_permissions_vo defined, it will attach those ACLs to the root folder of the VO.

Companion PRs:

vo_modgrp_name = f"{self.vo.vsc_id}_mod"
vo_modgrp_gid = grp.getgrnam(vo_modgrp_name).gr_gid
except KeyError:
logging.exception("VO moderator group does not exist: %s", vo_modgrp_name)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it need to exist? Cause that means the LDAP sync needs to run before this runs in case of a new VO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The VO mod group needs to exist on the client system running this script, not on the NFS server.

We can ignore the existence of the group mapping on the NFS server by directly passing the GID. But we need to know the GID of the group, so it needs to at least exist on the system running this script.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in 983a61e

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.

3 participants