Correct execute permissions

This commit is contained in:
Alexandre
2022-07-20 18:11:30 +02:00
parent e615038ab1
commit d9265a96da
66 changed files with 464 additions and 2 deletions

View File

@@ -35,6 +35,13 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
# Add 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 && \
# Remove linuxserver tamper check that creates new folders at each boot
if [ -f /etc/cont-init.d/02-tamper-check ]; then rm /etc/cont-init.d/02-tamper-check; fi
# Modules
ARG MODULES="00-banner.sh"