From f63fbdd82effa8f5f17c00e0db73db3ac4304d33 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Thu, 26 Sep 2024 12:15:54 -0400 Subject: [PATCH] Correct logging directory permissions The /var/log/rocm_smi_lib/ directory was world writable. It is fixed now so that it is world readable. Similarly, the file in it's directory is also world writable, it is now world readable. --- Dockerfile.rocm.ubi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.rocm.ubi b/Dockerfile.rocm.ubi index fcd160ec11759..718d9fc485165 100644 --- a/Dockerfile.rocm.ubi +++ b/Dockerfile.rocm.ubi @@ -203,7 +203,8 @@ RUN umask 002 && \ useradd --uid 2000 --gid 0 vllm && \ mkdir -p /licenses && \ chmod g+rwx $HOME /usr/src /workspace && \ - chmod 0664 /var/log/rocm_smi_lib + chmod 0775 /var/log/rocm_smi_lib && \ + chmod 0664 /var/log/rocm_smi_lib/* COPY LICENSE /licenses/vllm.md COPY examples/*.jinja /app/data/template/