diff --git a/protos/PublicDefs.proto b/protos/PublicDefs.proto index 8c328d86..ef9fb896 100644 --- a/protos/PublicDefs.proto +++ b/protos/PublicDefs.proto @@ -144,6 +144,7 @@ message TaskToCtld { string excludes = 34; string nodelist = 35; + uint32 gid = 36; } message TaskInEmbeddedDb { diff --git a/src/CraneCtld/CtldPublicDefs.h b/src/CraneCtld/CtldPublicDefs.h index 6b321306..d943b2cb 100644 --- a/src/CraneCtld/CtldPublicDefs.h +++ b/src/CraneCtld/CtldPublicDefs.h @@ -505,6 +505,8 @@ struct TaskInCtld { uid = val.uid(); password_entry = std::make_unique(uid); + gid = val.gid(); + runtime_attr.set_gid(gid); account = val.account(); name = val.name(); qos = val.qos();