Alexandre
2022-08-24 07:11:42 +02:00
committed by GitHub
parent 37581e8b06
commit 382912de89

View File

@@ -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