docs(installer): shard account needs read access to its client files on Linux #416

Merged
whitlocktech merged 1 commits from docs/shard-client-file-perms into main 2026-11-25 16:55:38 -06:00
Member

What

Document that on Linux, the account ServUO runs as must have read + traverse access to its UO client files, or the bridge's cliloc/art reads fail quietly.

Why

Both the Asset Bridge and the cliloc table have the shard read the operator's own client files (Cliloc.enu, art*.mul, anim*.mul, …) and serve them over the bridge. On Windows a single account with permissive, case-insensitive ACLs hides any permission question. On Linux — separate service accounts, a different file owner, a locked-down service user, or a systemd ProtectSystem/ReadOnlyPaths sandbox — ServUO's own open of the file can be denied, and the symptom is a quiet "not found" / empty import even though the file is present and intact. This surfaced during the Windows → Linux/Mono shard migration (alongside the cliloc case-sensitivity fix, servuo-plugins#38 / docs#415).

The notice is shard-focused by design: the uo-link sidecar (runicgateway) is a loopback forwarder and reads no client files, so it is deliberately not mentioned — operators should not widen it to the ServUO tree.

Changes

  • docs/installer/INSTALL.md — a new Requirements row beside the libgdiplus one.
  • docs/link/SHARD_PREREQS.md — a sibling "Host prerequisite" section mirroring the libgdiplus one.

Docs-only; no installer code change. (A doctor preflight check that verifies the shard account can read its client dir would be a reasonable follow-up, but is out of scope here.)

🤖 Generated with Claude Code

https://claude.ai/code/session_014HJEmcaKvWQ8LsnXHKha5y

## What Document that on **Linux**, the account **ServUO runs as** must have **read + traverse** access to its UO client files, or the bridge's cliloc/art reads fail quietly. ## Why Both the Asset Bridge and the cliloc table have the **shard** read the operator's own client files (`Cliloc.enu`, `art*.mul`, `anim*.mul`, …) and serve them over the bridge. On Windows a single account with permissive, case-insensitive ACLs hides any permission question. On Linux — separate service accounts, a different file owner, a locked-down service user, or a systemd `ProtectSystem`/`ReadOnlyPaths` sandbox — ServUO's own open of the file can be denied, and the symptom is a quiet "not found" / empty import even though the file is present and intact. This surfaced during the Windows → Linux/Mono shard migration (alongside the cliloc case-sensitivity fix, servuo-plugins#38 / docs#415). The notice is **shard-focused by design**: the uo-link sidecar (`runicgateway`) is a loopback forwarder and reads no client files, so it is deliberately not mentioned — operators should not widen it to the ServUO tree. ## Changes - `docs/installer/INSTALL.md` — a new Requirements row beside the `libgdiplus` one. - `docs/link/SHARD_PREREQS.md` — a sibling "Host prerequisite" section mirroring the libgdiplus one. Docs-only; no installer code change. (A `doctor` preflight check that verifies the shard account can read its client dir would be a reasonable follow-up, but is out of scope here.) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014HJEmcaKvWQ8LsnXHKha5y
wtclaude added 1 commit 2026-11-25 16:53:54 -06:00
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
whitlocktech merged commit 2184eea4b1 into main 2026-11-25 16:55:38 -06:00
whitlocktech deleted branch docs/shard-client-file-perms 2026-11-25 16:55:38 -06:00
Sign in to join this conversation.
No description provided.