diff --git a/.templates/92-smb_mounts.sh b/.templates/92-smb_mounts.sh index 0a2aadafd..1396f6383 100644 --- a/.templates/92-smb_mounts.sh +++ b/.templates/92-smb_mounts.sh @@ -31,8 +31,8 @@ if bashio::config.has_value 'networkdisks'; then PUID=",uid=$(bashio::config 'PUID')" PGID=",gid=$(bashio::config 'PGID')" else - PUID="" - PGID="" + PUID=",uid=$(id -u)" + PGID=",gid=$(id -g)" fi # Mounting disks