docs(installer): shard account needs read access to its client files on Linux
The Asset Bridge and the cliloc table have ServUO read the operator's own UO client files (Cliloc.enu, art*.mul, anim*.mul, ...) and serve them over the bridge, so on Linux the account ServUO runs as must have read + traverse access to them. Usually automatic (the shard owns its tree), but a different file owner, a locked-down service user, or a systemd sandbox can deny it — a quiet "not found"/empty import though the file is present and intact. Add a requirements row to docs/installer/INSTALL.md and a sibling host-prerequisite section to docs/link/SHARD_PREREQS.md, mirroring the libgdiplus notice. The uo-link sidecar is a loopback forwarder and reads no client files, so this is about the shard account only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HJEmcaKvWQ8LsnXHKha5y
This commit is contained in:
@@ -110,3 +110,26 @@ imaging: { ok: false, code: "NO_IMAGING",
|
||||
|
||||
Clilocs and the ServUO tree files are genuinely unaffected: neither touches a pixel. The installer's
|
||||
`doctor` checks for this alongside its other host checks.
|
||||
|
||||
---
|
||||
|
||||
## Host prerequisite: the shard account can read the client files (Linux)
|
||||
|
||||
Also a host requirement, also Linux-only, and the same shape as libgdiplus — but about
|
||||
**permission**, not a missing library. Both the Asset Bridge and the cliloc table have **the shard**
|
||||
read the operator's own UO client files (`Cliloc.enu`, `art*.mul`, `anim*.mul`, …) and serve them
|
||||
over the bridge, so the account **ServUO runs as** must be able to read them.
|
||||
|
||||
On most hosts this is automatic: ServUO owns its own tree. It bites only when Windows → Linux habits
|
||||
meet Linux's real file permissions — the client files owned by a different account, ServUO running
|
||||
under a locked-down service user, a systemd `ProtectSystem` / `ReadOnlyPaths` sandbox, or a parent
|
||||
directory the account cannot traverse. (On Windows a single account and permissive, case-insensitive
|
||||
ACLs hide all of this.)
|
||||
|
||||
**Fix:** run ServUO as the user that owns the client files, or grant that user **read + traverse**
|
||||
access to the client data directory — `chmod` / `setfacl` for read, and the traverse (`+x`) bit on
|
||||
*every* parent directory down to the files. The failure is quiet: a cliloc or art import comes back
|
||||
`not found` or empty even though the file is present and intact, because the shard's own open of it
|
||||
is what was denied.
|
||||
|
||||
**Windows shard hosts need nothing** — one account, permissive and case-insensitive.
|
||||
|
||||
Reference in New Issue
Block a user