Direct puid:pgid

This commit is contained in:
Alexandre
2023-09-13 11:37:15 +02:00
committed by GitHub
parent 3d85319544
commit bfef61c6a4
22 changed files with 67 additions and 67 deletions

View File

@@ -5,7 +5,7 @@ CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION')
bashio::log.info "Config stored in $CONFIG_LOCATION"
mkdir -p "$CONFIG_LOCATION"
chown -R abc:abc "$CONFIG_LOCATION"
chown -R "$PUID:$PGID" "$CONFIG_LOCATION"
chmod -R 755 "$CONFIG_LOCATION"
# shellcheck disable=SC2013

View File

@@ -15,4 +15,4 @@ for file in $(grep -Esril "/config/.config/yarn" /usr /etc /defaults); do
sed -i "s=/config/.config/yarn=/config/addons_config/overseerr/yarn=g" "$file"
done
yarn config set global-folder /config/addons_config/overseerr/yarn
chown -R abc:abc /config/addons_config/overseerr
chown -R "$PUID:$PGID" /config/addons_config/overseerr