node-pty
node-pty copied to clipboard
Suplementary Groups
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.