node-pty icon indicating copy to clipboard operation
node-pty copied to clipboard

Suplementary Groups

Open jonathanbeber opened this issue 1 year ago • 0 comments
trafficstars

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.

jonathanbeber avatar May 16 '24 20:05 jonathanbeber