jenkins: User groups are ignored when run as service

I installed Jenkins with Chef and even though I added jenkins to rvm group my job defined as follows:

#!/bin/bash
whoami
groups

shows

jenkins
jenkins

as a result.

It was an issue for me as I needed process owner to be the member of rvm group.

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 18 (6 by maintainers)

Commits related to this issue

Most upvoted comments

This fix for this has been merged with the latest release of the cookbook 4.0.1. Thanks for all of your patience folks.