Set worker directory ownership by numeric container UID
Foundry Go checks / check (push) Successful in 1m30s
Foundry Go checks / check (pull_request) Successful in 1m34s

This commit is contained in:
2026-11-05 11:40:09 +08:00
parent 81c2d2e6df
commit 08aa0d69b6
+2 -1
View File
@@ -7,7 +7,8 @@ binary=$(realpath "$1")
test -x "$binary"
test -s "$dir/home/auth.json"
test -s "$dir/grants/projects.json"
install -d -m 700 -o 1000 -g 1000 "$dir/run"
install -d -m 700 "$dir/run"
chown 1000:1000 "$dir/run"
# The host operator supplies an isolated Codex home and starts a single worker.
# The Docker default bridge supplies egress independently of Foundry's network.