You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get inside the sandbox and then run openclaw onboard and then you can setup the bot token for discord and once you set the channels and discord allowfrom
#514 sandbox having write access to this basically singular fail point is a huge security risk, but on the same token, openclaw expects you to write to it after deployment anyway so its a weird trade-off.
If you want to make openclaw.json writable again you can just comment out 152-156 of the Dockerfile and then nemoclaw destroy and onboard. then every live modification should work fine
just keep in mind the security risks mentioned in the issue (such as being able to forward the origin and let the internet talk to it) its a weird issue because there is functionally legitimate reason to modify this file but i get what theyre trying to do. for a safer temporary fix i suggest you modify the config to the preset channels and models etc inside the config var before deploying. you could customize it with the json readable and then copy it into the redeployment build which is what i did. hope this helps
This is the same root cause as #719 — DAC permissions on /sandbox/.openclaw/ block writes despite the Landlock policy allowing them. See this comment for the root cause analysis and Dockerfile fix.
Working plan update: this issue matches the current sandbox design tension around immutable openclaw.json. NemoClaw now bakes channel config at image build time and does not support runtime repair of /sandbox/.openclaw/openclaw.json from inside the sandbox.
Planned handling:
docs and diagnostics will be updated so openclaw doctor --fix is not treated as the primary repair path for sandbox-baked Discord config
we will keep the native messaging design and avoid reintroducing the bridge as the default fix
Discord remediation work is proceeding on branch fix/discord-native-remediation alongside the native gateway/proxy investigation
I’m treating this as a real UX/product bug, but secondary to the gateway/native-path failures. The goal is to make the immutable-config behavior explicit and avoid sending users down a dead-end repair path.
This is the same EACCES on .openclaw state that was fixed in the onboard and setup flows — see #572 for the full root cause. The fix passes NEMOCLAW_DISABLE_DEVICE_AUTH=1 so the pairing step doesn't block sandbox startup with a permission error. If you're still hitting this on the current version, please reopen with fresh logs.
Activity
[-]Discord bot toekn set - Error: EACCES: permission denied, copyfile '/sandbox/.openclaw/openclaw.json[/-][+]Discord bot token set - Error: EACCES: permission denied, copyfile '/sandbox/.openclaw/openclaw.json[/+]zibouddd commentedon Mar 21, 2026
same problem
fix(sandbox): allow openclaw.json writes for channel configuration (f…
itsmeritesh commentedon Mar 22, 2026
I'm facing this issue on my ubuntu box when I tried installing nemoclaw. Should I wait for the new build? How do I proceed with onboarding?
vietnhatthai commentedon Mar 23, 2026
Same
elbee-cyber commentedon Mar 24, 2026
#514 sandbox having write access to this basically singular fail point is a huge security risk, but on the same token, openclaw expects you to write to it after deployment anyway so its a weird trade-off.
If you want to make openclaw.json writable again you can just comment out 152-156 of the Dockerfile and then nemoclaw destroy and onboard. then every live modification should work fine
just keep in mind the security risks mentioned in the issue (such as being able to forward the origin and let the internet talk to it) its a weird issue because there is functionally legitimate reason to modify this file but i get what theyre trying to do. for a safer temporary fix i suggest you modify the config to the preset channels and models etc inside the config var before deploying. you could customize it with the json readable and then copy it into the redeployment build which is what i did. hope this helps
fix: add safe config I/O with EACCES error handling (NVIDIA#692, NVID…
fix: add safe config I/O with EACCES error handling (NVIDIA#692, NVID…
fix: add safe config I/O with EACCES error handling (NVIDIA#692, NVID…
fix: add safe config I/O with EACCES error handling (NVIDIA#692, NVID…
fix: add safe config I/O with EACCES error handling (NVIDIA#692, NVID…
thadreber-web commentedon Mar 30, 2026
This is the same root cause as #719 — DAC permissions on
/sandbox/.openclaw/block writes despite the Landlock policy allowing them. See this comment for the root cause analysis and Dockerfile fix.fix: add safe config I/O with EACCES error handling (NVIDIA#692, NVID…
fix: add safe config I/O with EACCES error handling (NVIDIA#692, NVID…
fix: add safe config I/O with EACCES error handling (NVIDIA#692, NVID…
fix(cli): add config-io module for safe config file I/O and preset va…
kjw3 commentedon Apr 9, 2026
Working plan update: this issue matches the current sandbox design tension around immutable
openclaw.json. NemoClaw now bakes channel config at image build time and does not support runtime repair of/sandbox/.openclaw/openclaw.jsonfrom inside the sandbox.Planned handling:
openclaw doctor --fixis not treated as the primary repair path for sandbox-baked Discord configfix/discord-native-remediationalongside the native gateway/proxy investigationI’m treating this as a real UX/product bug, but secondary to the gateway/native-path failures. The goal is to make the immutable-config behavior explicit and avoid sending users down a dead-end repair path.
fix(discord): tighten native messaging policies and diagnostics (#1653)
wscurran commentedon Apr 13, 2026
This is the same
EACCESon.openclawstate that was fixed in the onboard and setup flows — see #572 for the full root cause. The fix passesNEMOCLAW_DISABLE_DEVICE_AUTH=1so the pairing step doesn't block sandbox startup with a permission error. If you're still hitting this on the current version, please reopen with fresh logs.fix(discord): tighten native messaging policies and diagnostics (NVID…
fix(discord): tighten native messaging policies and diagnostics (NVID…
fix(cli): add config-io module for safe config file I/O and preset va…