# Container User Permission

**URL:** <https://community.wowza.com/t/container-user-permission/102813>\
**Category:** Wowza Streaming Engine\
**Created:** [February 27, 2026, 1:39am UTC](https://community.wowza.com/t/container-user-permission/102813 "2026-02-27T01:39:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehdgus1524](https://avatars.discourse-cdn.com/v4/letter/e/ad7895/32.png) [@ehdgus1524](https://community.wowza.com/u/ehdgus1524)\
**Post date:** [February 27, 2026, 1:39am UTC](https://community.wowza.com/t/container-user-permission/102813/1 "2026-02-27T01:39:40Z")

</div>

I’m using Wowza Streaming Engine on the k8s cluster with volume mounted ‘recording-file’ directory and ‘logs’ directory.

However I’m having trouble setting user permssion.

Since the container run with root user, logs and recorded media files are created with root:root permission. It’s occurring couple of issues - other processes could not find the files created by Wowza container.

So I’ve tried to set User as 2001 who runs the container, but got permission errors; `/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied`

So, is there proper ways to deploy wowza engine with 2001:2001 user permission? The main point is created files should has 2001:2001 permission.

Below is my Dockerfile which is in progress of solving the issues I’ve mentioned above.

The ‘logs’ and ‘recording-file’ directories are permissioned as 2001:2001.

Thank you in advance!

```auto
FROM wowzamedia/wowza-streaming-engine-linux:4.9.7

ENV NVIDIA_DRIVER_CAPABILITIES=all

RUN apt-get update && apt-get install -y \
    vim \
    libogg-dev \
    libglu1-mesa-dev \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /usr/local/WowzaStreamingEngine

RUN groupadd -r -g 2001 myuser && \
   useradd -r -u 2001 -g myuser myuser

RUN chown -R myuser:myuser /usr/local/WowzaStreamingEngine

USER myuser

// ... COPY & ADD configs and plugins ...

USER root

EXPOSE 1935 8088

ENTRYPOINT ["/sbin/entrypoint.sh"]

```

---

<div class="post-metadata">

**Author:** ![Vihari\_Kumar](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@Vihari\_Kumar](https://community.wowza.com/u/Vihari_Kumar)\
**Post date:** [March 2, 2026, 9:12am UTC](https://community.wowza.com/t/container-user-permission/102813/2 "2026-03-02T09:12:12Z")

</div>

Hello @ehdgus1524

Thank you for reaching out to us via Wowza Forum.

We would request you to create a Support Ticket with the Wowza Support through the **[Wowza Support portal](https://www.wowza.com/support/open-ticket "Wowza Support portal")**.

To expedite the troubleshooting, I request you to provide the conf/ and logs/ directory with us along the reproduction steps.

We look forward to hearing from you.

Regards,  
**Vihari Kumar**  
Technical Support Engineer
