From 2b88a7c128cbf94d33f2fa7c2a7819981f36baf4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 4 Aug 2025 10:39:44 +0200 Subject: [PATCH] Add group audio https://github.com/alexbelgium/hassio-addons/issues/1991#issuecomment-3149639000 --- birdnet-pi/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/birdnet-pi/Dockerfile b/birdnet-pi/Dockerfile index 13eabf47f..46a751d74 100644 --- a/birdnet-pi/Dockerfile +++ b/birdnet-pi/Dockerfile @@ -110,6 +110,9 @@ RUN \ # Give access to caddy for files owned by the user, to allow files modification groupmod -o -g 1000 caddy && usermod -o -u 1000 caddy && \ \ + # Give access to audio group + groupmod -o -g 1000 audio && usermod -o -u 1000 audio && \ + \ # Ensure always pi is used grep -srl "/etc/passwd" "$HOME/BirdNET-Pi/" | while IFS= read -r file; do sed -i "s=/etc/passwd=/etc/passwd | head -1=g" "$file"; done && \ \