Files
local-deep-research/scripts
LearningCircuit 09f306f0c1 fix: set HOME=/home/ldruser in entrypoint before dropping to non-root (#2520)
setpriv changes UID/GID but does not update HOME. Without this,
HOME stays as /root/ and platformdirs resolves data paths to
/root/.local/share/local-deep-research/ which ldruser cannot write to.

This causes PermissionError on startup when LDR_DATA_DIR is not
explicitly set (e.g. in the docker-multiarch-test workflow).

The Dockerfile already uses this pattern during build (line 246)
but the entrypoint was missing it.
2026-03-02 19:48:02 +01:00
..