This is an automated email from the ASF dual-hosted git repository. nddipiazza pushed a commit to branch TIKA-4703-smoke-continue-fixes in repository https://gitbox.apache.org/repos/asf/tika.git
commit ea02735851cd98d11c66fdae8881f0735ca95142 Author: Nicholas DiPiazza <[email protected]> AuthorDate: Mon Apr 27 11:07:18 2026 -0500 TIKA-4703: Fix tika-grpc container permissions for plugin directory pf4j creates temp directories alongside plugin zips when unzipping (e.g. /tika/plugins/tika-pipes-google-drive-4.0.0-SNAPSHOT.tmp.uuid). The COPY instructions run as root, leaving /tika owned by root, so the non-root container user (35002:35002) could not write temp dirs on startup. Fix: chown -R the entire /tika tree to the container user before the USER switch, so pf4j can unzip plugins at runtime. Co-authored-by: Copilot <[email protected]> --- tika-grpc/docker-build/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tika-grpc/docker-build/Dockerfile b/tika-grpc/docker-build/Dockerfile index ec472047a8..ac28edbf2d 100644 --- a/tika-grpc/docker-build/Dockerfile +++ b/tika-grpc/docker-build/Dockerfile @@ -49,7 +49,8 @@ RUN set -eux \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -RUN chmod +x "/tika/bin/start-tika-grpc.sh" +RUN chmod +x "/tika/bin/start-tika-grpc.sh" \ + && chown -R ${UID_GID} /tika USER $UID_GID
