From 199f9509eaa999125028892abeb435e6dc4432b9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 3 Feb 2026 21:17:17 +0100 Subject: [PATCH] Change script permission setting in Dockerfile Updated file permissions for scripts in /etc instead of current directory. --- qbittorrent/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index ed385a53b..f9e7b9af5 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -91,7 +91,7 @@ RUN \ ################## # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish" \) -print -exec chmod +x {} \; +RUN find /etc -type f \( -name "*.sh" -o -name "run" -o -name "finish" \) -exec chmod +x {} + # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -137,10 +137,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; - - ############ # 5 Labels # ############