确保凭证存储目录及文件权限最小化
OpenClaw所有凭证存储目录权限设置为700、文件权限设置为600。
操作步骤
- 设置OpenClaw存凭证存储目录及文件权限。
chmod 700 ~/.openclaw/credentials chmod 600 ~/.openclaw/credentials/*
- 查找auth-profiles.json的实际位置。
find ~/.openclaw -name "auth-profiles.json" 2>/dev/null
如果找到文件,根据实际路径设置权限,如果不存在,则无需设置。chmod 600 /实际路径/auth-profiles.json
父主题: 权限配置