Supplementary groups not set for user jobs
Bug #812870 reported by
ValVe
This bug affects 16 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Upstart should be able to (optionally?) assign supplementary groups to user job processes.
When running user jobs, upstart SETGIDs them to a primary group only, therefore crippling the user's ability to run jobs requiring group-specific privileges (for example, reading from audio device or webcam, which assumes membership in audio and video groups).
Changed in upstart: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This patch adds supplementary groups to user process using initgroups() function from <grp.h>
It also includes SETGID patch from Bug #807293 as it is essentially useless without it.