diff --git a/cups/CHANGELOG.md b/cups/CHANGELOG.md index 9e84174..f1d6d75 100644 --- a/cups/CHANGELOG.md +++ b/cups/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.0.1 -- 18.12.2022 + +- Fix permisson error + ## 2.0.0 -- 18.12.2022 - Changed `init` to `false` to make it at least starting. diff --git a/cups/Dockerfile b/cups/Dockerfile index 3c6fc23..2fb9ae9 100644 --- a/cups/Dockerfile +++ b/cups/Dockerfile @@ -28,6 +28,11 @@ RUN apt-get update \ COPY rootfs / +# Corrects permissions for s6 v3 +RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ + if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ + if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi + EXPOSE 631 445 137 139 CMD ["/run.sh"] diff --git a/cups/config.yaml b/cups/config.yaml index bc2cff7..13758c5 100644 --- a/cups/config.yaml +++ b/cups/config.yaml @@ -1,6 +1,6 @@ --- name: CUPS Print Server -version: 2.0.0 +version: 2.0.1 stage: experimental slug: cups image: ghcr.io/maxwinterstein/homeassistant-addon-cups-{arch}