Use effective Claude runtime ownership

This commit is contained in:
Alexandre
2026-07-15 10:59:49 +02:00
parent 5d577ad954
commit 6bf379bffc

View File

@@ -3,9 +3,10 @@
# shellcheck disable=SC2046 # shellcheck disable=SC2046
set -e set -e
# Define user # Use the effective shared desktop user identity. In bypass mode an earlier init script may
PUID=$(bashio::config "PUID") # remap abc away from UID 0 because Claude Code rejects bypass permissions when run as root.
PGID=$(bashio::config "PGID") PUID="$(id -u abc)"
PGID="$(id -g abc)"
# Check data location # Check data location
LOCATION="$(bashio::config 'data_location')" LOCATION="$(bashio::config 'data_location')"