coreutils_core::os::process
pub fn set_groups(groups: &[&str]) -> Result<(), GrError>
Set the groups for the current process.
groups
If a internal call set a errno (I/O OS error) or it fails to get Groups, an error variant will be returned.
Groups