pi-hole/docker-pi-hole

_uid-gid-changer.sh id -g ${groupname} gives wrong gid back

alst-ovh opened this issue · 2 comments

Set PIHOLE_UID and PIHOLE_GID to 0
then id -g pihole gives back 0 but thats wrong, it's always 1000

Change
#local currentId=$(id -g ${groupname})
to
local currentId=$(getent group ${groupname} | cut -d: -f3)

then it works

Can you test this against the beta (development-v6) image please (check over the Readme first as there are a few changes from v5->v6)

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.