开发者
资源
文档评分
获取效率
正确性
完整性
易理解
在线提单
论坛求助

确保权限设置合理

操作步骤

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

如存在环境变量,则设置环境变量文件.env

chmod 600 ~/.openclaw/.env