Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Spawn processes with the correct GID. #2791

Merged
merged 1 commit into from
Jun 24, 2019
Merged

Spawn processes with the correct GID. #2791

merged 1 commit into from
Jun 24, 2019

Conversation

russjones
Copy link
Contributor

Description

Use os.GetUid() and os.GetGid() to get the process UID and GID instead of user.Current() to get the UID and GID of the process. Only set process credentials if these values are different than the requested user.

Related Issues

Fixes #2669

Use os.GetUid() and os.GetGid() to get the process UID and GID instead
of user.Current() to get the UID and GID of the process. Only set
process credentials if these values are different than the requested
user.
@russjones russjones merged commit 9e63216 into master Jun 24, 2019
@russjones russjones deleted the rjones/fix-gid branch June 24, 2019 18:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Teleport session picks wrong group
2 participants