From d0f19aaa19db56fcf2830d1b8e4ff6cbbd6cb22f Mon Sep 17 00:00:00 2001 From: petruknw Date: Thu, 21 May 2026 16:14:08 +1000 Subject: [PATCH] aurral: fix image-proxy dir permissions - chown node, not 777 --- aurral/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aurral/Dockerfile b/aurral/Dockerfile index 97b0a42019..9b4484c7b0 100644 --- a/aurral/Dockerfile +++ b/aurral/Dockerfile @@ -20,9 +20,10 @@ ENV AURRAL_DATA_DIR=/config/data \ DOWNLOAD_FOLDER=/share/aurral/downloads \ WEEKLY_FLOW_FOLDER=/share/aurral/downloads/weekly-flow -# Pre-create the image-proxy directory at build time so the node process -# (which may not run as root) can write to it without a mkdir at runtime. -RUN mkdir -p /app/backend/data/image-proxy && chmod -R 777 /app/backend/data +# Pre-create the image-proxy directory at build time and give ownership to +# the node user that the upstream image runs the process as. +RUN mkdir -p /app/backend/data/image-proxy \ + && chown -R node:node /app/backend/data COPY rootfs /