Fix ownership and permissions for systemplate and coolwsd

This commit is contained in:
Alexandre
2025-08-28 11:34:49 +02:00
committed by GitHub
parent 16473730f9
commit 983ac6dbda

View File

@@ -79,8 +79,8 @@ if [ -d "${SYSTEMPLATE_DIR}" ]; then
cp /etc/resolv.conf "${SYSTEMPLATE_DIR}/resolv.conf"
fi
chown -R 1001 /opt/cool/systemplate
chown -R 1001 /opt/cool/systemplate
chmod -R 755 /etc/coolwsd
chown -R 1001 /etc/coolwsd
chmod -R 755 /opt/cool/systemplate
bashio::log.info "Starting Collabora Online..."
su -p -s /bin/bash "$(getent passwd 1001 | cut -d: -f1)" -c "/start-collabora-online.sh"