Skip to content

.openclaw folder split broke exec-approvals.json #1785

@oparoz

Description

@oparoz

Description

The .openclaw folder was recently split in two, with the writable part sent to .openclaw-data and new permissions applied.
Then people realised that some files were missing and added them in commit #1519.
Unfortunately, that doesn't work for exec-approvals. It needs to be a real file, not a symlink.

Reproduction Steps

Try to get the assistant to use any tool.

Environment

DGX Spark 7.5.0
OC-2026.04.10
OS-0.0.26

Debug Output

Logs

error [tools] exec failed: Refusing to write exec approvals via symlink: /sandbox/.openclaw/exec-approvals.json raw_params={"command":"openclaw version"}

Checklist

  • I confirmed this bug is reproducible
  • I searched existing issues and this is not a duplicate

Metadata

Metadata

Labels

Platform: DGX SparkSupport for DGX SparkbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions