<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Code-Server on Yinyu985's Blog</title><link>https://yinyu985.github.io/tags/code-server/</link><description>Recent content in Code-Server on Yinyu985's Blog</description><generator>Hugo -- 0.151.0</generator><language>zh-cn</language><lastBuildDate>Thu, 21 May 2026 10:20:00 +0800</lastBuildDate><atom:link href="https://yinyu985.github.io/tags/code-server/index.xml" rel="self" type="application/rss+xml"/><item><title>code-server WebSSH 被 macOS TCC 拦住这件事</title><link>https://yinyu985.github.io/code-server-webssh-macos-tcc-documents/</link><pubDate>Thu, 21 May 2026 10:20:00 +0800</pubDate><guid>https://yinyu985.github.io/code-server-webssh-macos-tcc-documents/</guid><description>&lt;p&gt;今天碰到一个很离谱的问题：Mac mini 上的 code-server 原本用得好好的，WebSSH 里突然开始各种报错。&lt;/p&gt;
&lt;p&gt;最典型的是这两个：&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Error: The current working directory must be readable to yy to run brew.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;fatal: Unable to read current working directory: Operation not permitted
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;看起来像是 &lt;code&gt;brew&lt;/code&gt; 有问题，又像是 Git 仓库坏了，还像是当前目录权限不对。实际最后查下来，根本不是这些。&lt;/p&gt;</description></item></channel></rss>