From ae1811a6cc4b8feaafdedf91bcce505c9114bd85 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Thu, 26 Sep 2024 12:15:54 -0400 Subject: [PATCH] Correct logging directotu 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 6256339283333..b285327ba81d2 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/