Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alst-ovh opened this issue Apr 22, 2024 · 2 comments
Open

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

alst-ovh opened this issue Apr 22, 2024 · 2 comments
Labels

Comments

@alst-ovh
Copy link

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

@PromoFaux
Copy link
Member

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)

Copy link

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.

@github-actions github-actions bot added the stale label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants