Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

A LaunchAgent gets `Operation not permitted` for `~/Documents` while Terminal works

The same zsh script could list ~/Documents when I ran it in Terminal. Started as a LaunchAgent, it failed with: ls: /Users/administrator/Documents: Operation not permitted The LaunchAgent had the same…

  • LaunchAgent encountered 'Operation not permitted' error on ~/Documents
  • Terminal accessed the same directory without permission issue
  • Difference found in launch context and macOS privacy settings

More from Wednesday 26 August →