-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test-child-process-uid-gid fails on FreeBSD #10646
Comments
I'm afraid, the committed fix is not sufficient. The effective GID may be different from 0, but, if the user's account belongs to group 0 as well, the Also, this is not a FreeBSD-specific problem, so I don't think, the "freebsd" tag is appropriate. |
I don't think we should remove the check. It's the only test for that option that we have, save a type checking test. I updated the test in #10647 to check for all groups. |
This commit lets the uid and gid options of spawn() to be tested independently of one another based on the user's uid and gid. Fixes: nodejs#10646 PR-URL: nodejs#10647 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit lets the uid and gid options of spawn() to be tested independently of one another based on the user's uid and gid. Fixes: nodejs#10646 PR-URL: nodejs#10647 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit lets the uid and gid options of spawn() to be tested independently of one another based on the user's uid and gid. Fixes: nodejs#10646 PR-URL: nodejs#10647 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit lets the uid and gid options of spawn() to be tested independently of one another based on the user's uid and gid. Fixes: nodejs#10646 PR-URL: nodejs#10647 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit lets the uid and gid options of spawn() to be tested independently of one another based on the user's uid and gid. Fixes: nodejs#10646 PR-URL: nodejs#10647 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Performing "make test" on the freshly-built node-7.4.0 I see the following:
I am running the test as myself (not as
root
)... The failing snippet is:It fails, because my account belongs to group 0 (
wheel
). In fact, it is my only group. The test should be checking for such situations similarly to how it already checks for being run byuid
0.The text was updated successfully, but these errors were encountered: