Skip to content
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: resolve process.setegid error for nobody on ubuntu #19757

Closed

Commits on Apr 2, 2018

  1. test: resolve process.setegid error for nobody on ubuntu

    When the tests are run as root in Ubuntu, process.setegid is called with
    'nobody' as an argument. This throws an error in Ubuntu. This is because
    in Ubuntu the equivalent of 'nobody' group is named as 'nogroup'.
    
    This commit sets egid to 'nobody' first and if it throws a `group id
    does not exist` error, it attempts to set egid to 'nogroup'. If it still
    causes an error, the error is thrown.
    
    Refs: nodejs#19594
    dsinecos committed Apr 2, 2018
    Configuration menu
    Copy the full SHA
    88ad186 View commit details
    Browse the repository at this point in the history