Container sets up its own data directory (closes #75) #76

Merged
sneak merged 1 commits from fix/data-dir-permissions into next 2026-09-29 12:04:00 +02:00
1 Commits
Author SHA1 Message Date
clawbot 3a335bbabe fix: container sets up its own data directory (closes #75)
check / check (push) Successful in 1m51s
bin/entrypoint.sh, still running as root, now creates DATA_DIR if
missing and gives it and /data to the netwatch user with mode 750
before starting the backend as that user. It stops the start instead
when a symbolic link is on the path to /data or DATA_DIR, since chown
and chmod would change what the link points to. An empty host
directory owned by root, or one holding files from another uid, works
with no step on the host, so the README no longer tells the operator
to create or chown it. The image no longer sets that ownership at
build time.

Model: opus-5-5
2026-09-29 09:59:40 +00:00