Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Suplementary Groups

Open
#684 0 comments 0 reactions 1 assignee View on GitHub

@deepak1556 is already working on this.

Since Dec 17, 2024.

Assessment

This issue has not been assessed yet.

Description

feature-request

Hello there,

Is there a way to set the supplementary group IDs when spawning a new terminal? I see gid is a number and not an array, so I guess that's not the right way to achieve that.

Supplementary group IDs is a common thing for emulated terminals, since users can benefit from permissions coming other groups rather than their main one.

I thought about changing the process' groups with process.setgroups but it changes the process of the current process, what means I can't change it after it was already forked.

Any suggestion is really appreciated.

Dominant language
TypeScript
Stars
2k
Forks
337
Avg merge
21h 58m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/node-pty

All issues in microsoft/node-pty

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.