Skip to content

Commit

Permalink
Add getgid to docker -u option #922
Browse files Browse the repository at this point in the history
  • Loading branch information
gaow committed Mar 26, 2018
1 parent 5479457 commit 7380f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sos/docker/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def run(self, image, script='', interpreter='', args='', suffix='.sh', **kwargs)
user_opt = f'-u {kwargs["user"]}'
else:
# Tocket #922
user_opt = f'-u {os.getuid()}'
user_opt = f'-u {os.getuid()}:{os.getgid()}'
#
extra_opt = ''
if 'extra_args' in kwargs:
Expand Down

0 comments on commit 7380f7f

Please sign in to comment.