When I am creating files/directories with my user: jose , the group of these is always docker . It's like I have a mask on or something but there's nothing like this.
I give an example:
1º I create test directory:
▶ mkdir test
2º I look at permissions, users and groups:
▶ ls -ls | grep test
4 drwxr-xr-x 2 jose docker 4096 ago 31 09:36 test
As you can see docker appears as a group instead of jose . What could this be due to?
The problem was that your user had "docker" as the main group instead of "jose".
To view the groups a user belongs to
To change a user's primary group
Once this is done, any new session will already have the group parent_group as parent.