system.setgroups

Synopsis

local system = require "system"
system.setgroups(groups: integer[])

Description

Sets the supplementary group IDs for the calling process.

Only the master VM is allowed to use this function.