st2-packages icon indicating copy to clipboard operation
st2-packages copied to clipboard

account for unique user group

Open lattisimo opened this issue 5 years ago • 5 comments

Use id -gn to get the user group for curl|bash stackstorm installer.


The issue I had was installing on a box that had LDAP configured and my user group is 'domain users' since the script just assumed the group matched the user so the chown command fails and the script stops executing. I can avoid the issue by 'sudo su' but I realized that if I get the user's group with 'id -gn' then there is no assumption of what that value should be. This would likely be relevant on the other scripts.

lattisimo avatar Oct 06 '20 21:10 lattisimo

@lattisimo Would be good to know the more context around this issue: what led you to this solution, what's the issue, error message, etc.

arm4b avatar Oct 07 '20 20:10 arm4b

Since this is my first interaction of this sort. I want to follow up if there is any additional action needed on my part? I am not confident that I accomplished what @nmaludy has asked of me.

lattisimo avatar Oct 12 '20 13:10 lattisimo

@lattisimo Your changes look good, we're just in a change freeze right now due to a pending 3.3.0 release. I'm going to target this for the 3.4.0 milestone, does that sound good?

nmaludy avatar Oct 12 '20 13:10 nmaludy

Sounds good. Thanks.

lattisimo avatar Oct 12 '20 14:10 lattisimo

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: lattisimo
:x: Shawn Robinson


Shawn Robinson seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar May 11 '22 10:05 CLAassistant