


















昨天突然关机,重启后Claude code登录无反应,对话也无反应。 干什么都显示超时。 然后在终端输入 Claude ,提示如下 # claude Claude Code could not start: Temp directory /tmp/claude-1000 is owned by uid 0, expected 1000. Refusing to use it — another user may have pre-created it. Set CLAUDE_CODE_TMPDIR to a directory you control, or ask an administrator to remove it.``` 看起来是权限问题,导致临时文件无法写入,把这个临时文件删除即可 sudo rm -rf /tmp/claude-1000 删除后Claude code即可恢复。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。