code-server WebSSH 被 macOS TCC 拦住这件事

今天碰到一个很离谱的问题:Mac mini 上的 code-server 原本用得好好的,WebSSH 里突然开始各种报错。 最典型的是这两个: Error: The current working directory must be readable to yy to run brew. fatal: Unable to read current working directory: Operation not permitted 看起来像是 brew 有问题,又像是 Git 仓库坏了,还像是当前目录权限不对。实际最后查下来,根本不是这些。 ...

2026-05-21 · 4 min