
GID 10 or 100?
Hey guys,
on my Docker setup I originally followed guides (e.g. mariushosting: https://mariushosting.com/ugreen-nas-find-uid-userid-and-gid-groupid-in-5-seconds/) and used PUID=1000 + PGID=10 because id shows:
Me@DXP4800PLUS:~$ id
uid=1000(Me) gid=10(admin) groups=10(admin),100(users),133(ughomeusers)
After looking more into permissions, I started wondering if that approach is actually correct, so I began switching some (not all) containers to PGID=100 (users). I have not switched plex nor immich due my fear of breaking / loosing data.
So far it worked fine, but now I have a mix of group 10 and 100 across folders.
Now I’m not even sure if PGID=10 was wrong in the first place...
So I’m wondering:
Is it generally cleaner / best practice to fully move everything to PGID=100, or is there a valid reason to stay with PGID=10 in some setups?
Is switching existing data from gid 10 to 100 safe for media stacks like Plex / Immich / Docker volumes, or are there risks of breaking access?!
And could sticking with PGID=10 have any long-term downsides (security), especially if services are exposed externally?
TLDR:
Which is best practice for Docker containers in my/ Ugreen NAS setup: GID 10 or GID 100?