From 382912de895db078f850af6c7c131743fc464344 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 24 Aug 2022 07:11:42 +0200 Subject: [PATCH] https://github.com/alexbelgium/hassio-addons/issues/440 --- .templates/92-local_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/92-local_mounts.sh b/.templates/92-local_mounts.sh index 0e04acc9d..02bc248cf 100644 --- a/.templates/92-local_mounts.sh +++ b/.templates/92-local_mounts.sh @@ -35,7 +35,7 @@ if bashio::config.has_value 'localdisks'; then # Creates dir mkdir -p /mnt/"$disk" - chown -R "PUID:PGID" /mnt/"$disk" + chown -R "$PUID:$PGID" /mnt/"$disk" # Legacy mounting : mount to share if still exists (avoid breaking changes) # shellcheck disable=SC2015 [ -d /share/"$disk" ] && mount "$devpath"/"$disk" /share/"$disk" || true