This is an automated email from the ASF dual-hosted git repository.

more pushed a commit to branch KNOX-3257
in repository https://gitbox.apache.org/repos/asf/knox.git

commit 56e0f31ef021d5c16d1f6a6601545d47872c2dba
Author: Sandeep Moré <[email protected]>
AuthorDate: Fri Feb 20 13:22:50 2026 -0500

    KNOX-3257 - Review changes
---
 gateway-docker/src/main/resources/docker/Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gateway-docker/src/main/resources/docker/Dockerfile 
b/gateway-docker/src/main/resources/docker/Dockerfile
index 8e46872db..fabb9dd95 100644
--- a/gateway-docker/src/main/resources/docker/Dockerfile
+++ b/gateway-docker/src/main/resources/docker/Dockerfile
@@ -39,10 +39,10 @@ RUN chmod 644 /home/knox/*.zip && \
     cd /home/knox && unzip /home/knox/*.zip && rm -f /home/knox/*.zip && ln 
-nsf /home/knox/*/ /home/knox/knox
 
 # Make sure knox owns its files and make all directories group-accessible for 
arbitrary UIDs
-RUN chown -R knox:knox /home/knox && \
-    mkdir -p /home/knox/knox/data/security/keystores && \
+RUN mkdir -p /home/knox/knox/data/security/keystores && \
     mkdir -p /home/knox/knox/conf && \
-    find /home/knox -type d -exec chmod g+rwx {} \;
+    chown -R knox:knox /home/knox && \
+    chmod -R g+rwX /home/knox \
 
 # Add the entrypoint script
 ARG ENTRYPOINT

Reply via email to