god icon indicating copy to clipboard operation
god copied to clipboard

Setting uid/gid does not apply any additional groups the user may belong to

Open sethcall opened this issue 11 years ago • 1 comments

Any groups that the user, specified by uid, belong to are not applied to the process, other than the one specified by gid.

I manually verified that setting ::Process.groups = [group1, group2, group3] instead of just ::Process.groups = [gid] in God::Process.spawn is the solution.

Do you agree this is a problem? (I've verified it, but maybe this is by design or something along those lines). Would you like a pull request?

sethcall avatar Jan 31 '14 16:01 sethcall

I don't believe it was intentional. A pull requests would be great!

On Fri, Jan 31, 2014 at 8:21 AM, Seth Call [email protected] wrote:

Any groups that the user, specified by uid, belong to are not applied to the process, other than the one specified by gid. I manually verified that setting ::Process.groups = [group1, group2, group3] instead of just ::Process.groups = [gid] in God::Process.spawn is the solution.

Do you agree this is a problem? (I've verified it, but maybe this is by design or something). Would you like a pull request?

Reply to this email directly or view it on GitHub: https://github.com/mojombo/god/issues/155

eric avatar Jan 31 '14 19:01 eric