From 35ddfc428dc98e492012731f60feda64ff5ebc2c Mon Sep 17 00:00:00 2001 From: Alexander Petric Date: Fri, 9 Jan 2026 14:03:46 -0500 Subject: [PATCH] fix: windmill ee full cache permission issues for non root users (#7536) --- docker/DockerfileFull | 5 +++++ docker/DockerfileFullEe | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docker/DockerfileFull b/docker/DockerfileFull index 5ca64d5f51..c5a7e43db1 100644 --- a/docker/DockerfileFull +++ b/docker/DockerfileFull @@ -26,3 +26,8 @@ RUN /usr/bin/java -jar /usr/bin/coursier about # Ruby RUN apt-get install -y ruby ruby-bundler + +# Fix UV cache permissions for non-root user support (uid 1000, etc.) +# The uv tool install ansible command populates the UV cache with root-owned files +RUN chmod -R a+rw /tmp/windmill/cache/uv && \ + find /tmp/windmill/cache/uv -type d -exec chmod 777 {} + diff --git a/docker/DockerfileFullEe b/docker/DockerfileFullEe index cf420e1962..92745c6b18 100644 --- a/docker/DockerfileFullEe +++ b/docker/DockerfileFullEe @@ -50,3 +50,8 @@ RUN /usr/bin/java -jar /usr/bin/coursier about # Ruby RUN apt-get install -y ruby ruby-bundler + +# Fix UV cache permissions for non-root user support (uid 1000, etc.) +# The uv tool install ansible command populates the UV cache with root-owned files +RUN chmod -R a+rw /tmp/windmill/cache/uv && \ + find /tmp/windmill/cache/uv -type d -exec chmod 777 {} +