title: Can't use Watchman: "Operation not permitted"
body: <p>Since updating Watchman recently (with Homebrew) I can no longer use it to watch projects. I get</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;version&quot;: &quot;2022.05.30.00&quot;,
      &quot;error&quot;: &quot;std::__1::system_error: open: /Users/Path/To/Project: Operation not permitted&quot;
  }
  
  </code></pre>
  <p>I initially assumed that this must simply be file access issue I could <a href="https://stackoverflow.com/a/58327671/656912">resolve in the normal way</a>, but giving the watchman app access to Files &amp; Folders does not resolve the issue (even with termination of all watchman processes and restart of Terminal).</p>
  <p>For good measure, I also <a href="https://stackoverflow.com/a/68962390/656912">manually added the watchman executable to Full Disk Access</a> (something I've never needed to do before and am not comfortable with) but this also had no effect.</p>
  <p>I have also terminated every relevant process I can think of, and even rebooted, twice. As far as I know the <em>only</em> change since Watchman worked was my running <code>brew update watchman</code> (which I have of course also uninstalled and reinstalled).</p>
  <p>One concern is that for some reason I have multiple entries for watchmen in System Preferences, which weirdly results in it taking several dozen attempts to whack-a-mole all of them into a checked state for access:</p>
  <p><a href="https://i.stack.imgur.com/AoY4H.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AoY4H.png" alt="enter image description here" /></a></p>
  <p>How do I give Watchman the permissions needs to overcome this error?</p>