Sorry for my confusion, I shouldn't try to write emails before coffee!

On Mon, Apr 19, 2021 at 7:43 AM Bruno Gomes Pessanha <
bruno.pessa...@gmail.com> wrote:

> That is showing that I'm in different groups depending on how I run the
> command id.
>
> PS: I'm running the controller and workers in docker containers using
> privileged mode.
>
> Bruno
>
> On Mon, 19 Apr 2021 at 13:24, Dustin Lang <dstnd...@gmail.com> wrote:
>
>> This is telling you you're root in the docker container, right?
>>
>>
>>
>> On Mon, Apr 19, 2021 at 4:51 AM Bruno Gomes Pessanha <
>> bruno.pessa...@gmail.com> wrote:
>>
>>> Somebody could help me with this?
>>> Pretty strange behaviour. If I run "id: it shows different groups if I
>>> run "id myuser":
>>>
>>> [root@ctrl-slurm /]# srun --pty -p local --uid myuser bash
>>>
>>> [myuser@node-slurm /]$ id
>>> uid=868295925(myuser) gid=0(root) groups=0(root),979(cgred)
>>>
>>> [myuser@node-slurm /]$ id myuser
>>> uid=868295925(myuser) gid=1001(myuser) groups=1001(myuser),978(docker)
>>>
>>> --
>>> Bruno
>>>
>>
>
> --
> Bruno Gomes Pessanha
>

Reply via email to