openclaw - 💡(How to fix) Fix [Bug]: SYSTEM_RUN_DENIED: approval requires an existing canonical cwd (Linux gateway → Windows node) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#63209Fetched 2026-04-09 07:56:58
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×2subscribed ×1unsubscribed ×1

OpenClaw version:

  • Windows node: 2026.4.2 (d74a122)
  • Gateway: Hostinger VPS (Docker)

Topology:

  • Linux gateway → Windows node (different machines)

What works:

  • Gateway reachable
  • Token set via OPENCLAW_GATEWAY_TOKEN
  • Approvals configured:
    • security=full
    • ask=off
    • askFallback=full

What fails:

  • system.run with tools.exec.host=node

Error: SYSTEM_RUN_DENIED: approval requires an existing canonical cwd

Notes:

  • Node started manually from C:\Users\Lenovo
  • Cross-platform setup (Linux → Windows)
  • Appears to be cwd validation/runtime issue

Error Message

Error: 5. Observe error:

Root Cause

OpenClaw version:

  • Windows node: 2026.4.2 (d74a122)
  • Gateway: Hostinger VPS (Docker)

Topology:

  • Linux gateway → Windows node (different machines)

What works:

  • Gateway reachable
  • Token set via OPENCLAW_GATEWAY_TOKEN
  • Approvals configured:
    • security=full
    • ask=off
    • askFallback=full

What fails:

  • system.run with tools.exec.host=node

Error: SYSTEM_RUN_DENIED: approval requires an existing canonical cwd

Notes:

  • Node started manually from C:\Users\Lenovo
  • Cross-platform setup (Linux → Windows)
  • Appears to be cwd validation/runtime issue
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

OpenClaw version:

  • Windows node: 2026.4.2 (d74a122)
  • Gateway: Hostinger VPS (Docker)

Topology:

  • Linux gateway → Windows node (different machines)

What works:

  • Gateway reachable
  • Token set via OPENCLAW_GATEWAY_TOKEN
  • Approvals configured:
    • security=full
    • ask=off
    • askFallback=full

What fails:

  • system.run with tools.exec.host=node

Error: SYSTEM_RUN_DENIED: approval requires an existing canonical cwd

Notes:

  • Node started manually from C:\Users\Lenovo
  • Cross-platform setup (Linux → Windows)
  • Appears to be cwd validation/runtime issue

Steps to reproduce

  1. Start OpenClaw gateway on Linux (Docker, Hostinger VPS).
  2. Start Windows node manually from PowerShell: cd C:\Users\Lenovo npx openclaw node run
  3. Set tools.exec.host=node on gateway.
  4. Execute system.run command targeting Windows node.
  5. Observe error: SYSTEM_RUN_DENIED: approval requires an existing canonical cwd

Expected behavior

system.run should execute successfully on Windows node when approvals are configured (security=full, ask=off), without requiring additional cwd validation errors.

Actual behavior

system.run fails with: SYSTEM_RUN_DENIED: approval requires an existing canonical cwd

OpenClaw version

2026.4.2

Operating system

windows 11

Install method

No response

Model

Open Ai

Provider / routing chain

openclaw -> gateway (Docker, Hostinger VPS) -> Windows node

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue can be resolved by ensuring a valid canonical current working directory (cwd) exists on the Windows node before executing the system.run command.

Guidance

  • Verify that the Windows node is started from a directory that has a valid canonical path, as the error suggests a cwd validation issue.
  • Check the C:\Users\Lenovo directory from which the node is started manually to ensure it has the necessary permissions and is a valid working directory.
  • Consider setting a specific, existing directory as the cwd before running the system.run command to test if this resolves the issue.
  • Review the OpenClaw documentation for any specific requirements or configurations related to cross-platform setups and cwd validation.

Example

No specific code example is provided due to the lack of detailed implementation details in the issue.

Notes

The exact cause of the cwd validation issue is not clear from the provided information, and further investigation into the OpenClaw configuration and the Windows node's environment may be necessary.

Recommendation

Apply workaround: Ensure a valid canonical cwd exists before executing system.run, as this directly addresses the error message and is a straightforward step to mitigate the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

system.run should execute successfully on Windows node when approvals are configured (security=full, ask=off), without requiring additional cwd validation errors.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING