Skip to content

Adding support for supplementary groups for Linux - #685

Open
Aram Drambyan (ArDrambyan) wants to merge 4 commits into
microsoft:mainfrom
ArDrambyan:684-supplementary-groups
Open

Adding support for supplementary groups for Linux#685
Aram Drambyan (ArDrambyan) wants to merge 4 commits into
microsoft:mainfrom
ArDrambyan:684-supplementary-groups

Conversation

@ArDrambyan

Copy link
Copy Markdown

Closes #684

Changes

Functional

  • Adding a new optional suppGids parameter for node-pty.spawn that allows to provide supplementary group IDs for Linux. The parameter will take effect only if gid and uid are provided.

Technical

  • Fixed a minor typo in the README example.

@ArDrambyan

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="CodeSignal"

Comment thread README.md
env: process.env
});

ptyProcess.onData((data) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change this? on was deprecated some time ago and I don't think it's in the .d.ts anymore

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I made that change based on ITerminal from src/interfaces.ts. Reverted it back

@ArDrambyan

Copy link
Copy Markdown
Author

Hi Daniel Imms (@Tyriar) I addressed your comment. Can you review the PR again?

@Tyriar

Copy link
Copy Markdown
Contributor

I assigned Robo (@deepak1556) to review, my comment was just a drive-by

@Tyriar

Copy link
Copy Markdown
Contributor

Ping Robo (@deepak1556)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suplementary Groups

3 participants