Removed uid/gid options

Only applied to fat filesystems
https://manpages.ubuntu.com/manpages/kinetic/en/man8/mount.8.html
https://github.com/alexbelgium/hassio-addons/issues/755
This commit is contained in:
Alexandre
2023-03-13 10:27:54 +01:00
committed by GitHub
parent 7fb84039cc
commit 361f69230f

View File

@@ -78,12 +78,6 @@ if bashio::config.has_value 'localdisks'; then
options="${options},umask=000"
type="ntfs"
;;
*)
if bashio::config.has_value 'PUID' && bashio::config.has_value 'PGID'; then
echo "Using PUID $(bashio::config 'PUID') and PGID $(bashio::config 'PGID')"
options="$options,uid=$(bashio::config 'PUID'),gid=$(bashio::config 'PGID')"
fi
;;
esac
# Legacy mounting : mount to share if still exists (avoid breaking changes)