[CUPS] Fix permission issue - hopefully

This commit is contained in:
Max Winterstein
2022-12-18 20:40:57 +01:00
committed by GitHub
parent 26a4a0fb49
commit 2130ee944a
3 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
# Changelog # Changelog
## 2.0.1 -- 18.12.2022
- Fix permisson error
## 2.0.0 -- 18.12.2022 ## 2.0.0 -- 18.12.2022
- Changed `init` to `false` to make it at least starting. - Changed `init` to `false` to make it at least starting.

View File

@@ -28,6 +28,11 @@ RUN apt-get update \
COPY rootfs / 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 EXPOSE 631 445 137 139
CMD ["/run.sh"] CMD ["/run.sh"]

View File

@@ -1,6 +1,6 @@
--- ---
name: CUPS Print Server name: CUPS Print Server
version: 2.0.0 version: 2.0.1
stage: experimental stage: experimental
slug: cups slug: cups
image: ghcr.io/maxwinterstein/homeassistant-addon-cups-{arch} image: ghcr.io/maxwinterstein/homeassistant-addon-cups-{arch}