OpenClaw operations guide
OpenClaw sandbox cannot access a file: trace the workspace boundary
When an OpenClaw sandbox cannot access a file, the file is usually outside the workspace that session can see. Run openclaw sandbox explain for the failing agent or session, then compare its host workspace, mounts and tool policy with the file path. Workspace access is none, ro or rw. Fix the mount, not the sandbox, and retest with one harmless file.
Last updated · Published
Tested on OpenClaw 2026.11.10 (Nov 25, 2026). Each command here was run with --help on that release and each setting was checked in its bundled docs.
By CWYN · Reviewed November 17, 2026 · Commands and behavior vary by installed version; check its help and official documentation · Procedures labeled CWYN recommendations are operational advice, not OpenClaw guarantees
A file can exist on the host while remaining absent from an agent's sandbox. A working tool read can also coexist with a broken file link. Trace the failing operation before changing permissions. Use the memory isolation guide for unwanted recall across agents.
1. Identify the exact failed operation
CWYN recommends recording the agent and session, backend, tool, error category, requested path, and whether the failure occurs during reading, writing, or opening a link. Use a harmless fixture with no credentials or customer data. Keep host paths private when sharing a reproduction.
Issue #169491 reports Control UI rejection of container-absolute links on an older release even when a file exists. It supports checking the presentation layer separately; it does not prove that every denied link is a translation bug or that current stable is affected.
2. Inspect the effective sandbox for that session
The official sandbox overview documents openclaw sandbox explain with agent/session selection. Use the form supported by installed help. Record the active host workspace, runtime workdir, backend, mounts, and tool policy. Do not assume another session uses the same environment.
A tool denied by policy stays denied even if the file is mounted. A host binary installed outside the sandbox is a different question from a missing document. CWYN recommends checking those as separate hypotheses so a file-access investigation does not quietly expand command authority.
3. Map the file to an admitted workspace
The workspace-access reference describes none, ro, and rw. They expose different storage and write permissions. Match the effective mount rather than guessing a host path from the name /workspace. Role-required restrictions can cap configured access.
CWYN recommends placing one non-sensitive fixture in the intended admitted location and asking the same session to read its exact contents. If a read works but a write is intentionally blocked, that is evidence of the expected boundary. Do not grant read/write access just to silence a read-only rejection.
4. Test file access and link opening separately
Read the fixture through the agent's supported file tool, then open its reference through the session's supported Files interface. Record each result independently. If reading succeeds and opening fails, retain the file location and redacted UI error for support. Do not expose a host directory through a public file server as a workaround.
If the owner authorizes a mount or configuration correction, save the prior configuration, change only the required scope, and follow the installed backend's lifecycle instructions. Retest the intended read and a harmless out-of-scope fixture that must remain inaccessible. Do not disable sandboxing or turn on elevated execution to repair a document link.
5. Record recovery with the boundary intact
Pass evidence names the same session, fixture, successful intended operation, and denied out-of-scope operation. Remove temporary fixtures and restore any investigation-only configuration. If the installed UI still fails, report that limit explicitly rather than claiming full recovery.
Get your free CWYN Score to choose your next setup improvement.