mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 00:25:55 +02:00
Update 90-create_links.sh
This commit is contained in:
@@ -22,6 +22,7 @@ fi
|
|||||||
|
|
||||||
# Adapt permissions if needed
|
# Adapt permissions if needed
|
||||||
if ! bashio::config.true "skip_permissions_check" && [ "${PUID:-0}" != "0" ] && [ "${PGID:-0}" != "0" ]; then
|
if ! bashio::config.true "skip_permissions_check" && [ "${PUID:-0}" != "0" ] && [ "${PGID:-0}" != "0" ]; then
|
||||||
|
bashio::log.info "Updating permissions"
|
||||||
chown -R "$PUID:$PGID" /share/plex
|
chown -R "$PUID:$PGID" /share/plex
|
||||||
chmod -R 777 /share/plex
|
chmod -R 777 /share/plex
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user