Files
OpenShell/deploy/docker
Evan Lezar 495fe4cc73 fix(docker): set migrations dir permissions to 755 on COPY (#475)
Docker COPY preserves build-host file permissions. On hosts with a
restrictive umask (e.g. 0027), the migrations directory is copied as
750 root:root, making it unreadable by the openshell user at runtime
and causing the server to crash with a permission denied error on
startup.

Using --chmod=755 ensures the directory is always world-readable
regardless of the build host umask.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2026-03-20 14:09:24 +01:00
..