Ensure Proper Permission Settings
Procedure
chmod 700 ~/.openclaw chmod 600 ~/.openclaw/openclaw.json chmod 700 ~/.openclaw/devices chmod 600 ~/.openclaw/devices/paired.json chmod 700 ~/.openclaw/credentials chmod 600 ~/.openclaw/credentials/* chmod 700 ~/.openclaw/agents/main/agent chmod 600 ~/.openclaw/agents/main/agent/auth-profiles.json chmod 700 ~/.openclaw/workspace/ chmod 600 ~/.openclaw/workspace/* chmod 600 ~/.openclaw/workspace/memory/* chmod 700 ~/.openclaw/agents/main/sessions chmod 600 ~/.openclaw/agents/main/sessions/* chmod 600 ~/.openclaw/logs/* chmod 600 ~/.openclaw/exec-approvals.json
If there are environment variables, configure the .env file.
chmod 600 ~/.openclaw/.env
Parent topic: Automated Configuration Items