user and my primary group is
user. If I change my primary group to
primary_group, all of the files owned by me are suddenly owned by
This was unexpected to me. If group
user owns a file and I don't change file ownership, I don't expect the group ownership to change.
What other common pitfalls with regards to this are there?
I changed the primary group by using
usermod -g primary_group user. I checked and this changed the integer identifier, it's not simply a naming issue.