You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Processes spawned in Orca get EPERM on ~/Documents while ~/Desktop and ~/Downloads work #17600
Any process started from Orca's terminal gets Operation not permitted (EPERM) on ~/Documents, while ~/Desktop and ~/Downloads are fine. This broke mid-session: the same repo under ~/Documents was readable earlier and stopped being readable a couple of days later, with no permission changes on my side.
Repro
$ ls ~/Desktop # OK
$ ls ~/Downloads # OK
$ ls ~/Documents
ls: /Users/me/Documents: Operation not permitted
$ cat ~/Documents/some/existing/file.md
cat: ...: Operation not permitted
The part that looks like a bug
Writing works, reading does not:
$ echo hello > ~/Documents/probe.txt # succeeds
$ cat ~/Documents/probe.txt # succeeds, prints hello
$ ls ~/Documents # still EPERM
So a file the process creates itself is readable, but pre-existing files and directory listing are not. A plain TCC denial would block the write too, which is why I don't think this is just a missing permission.
What I ruled out
Unix permissions and ACLs are normal: drwx------, owner is me, the only ACL entry is group:everyone deny delete
Orca is listed in System Settings under Full Disk Access
Info.plist already declares NSDocumentsFolderUsageDescription and NSDownloadsFolderUsageDescription
Not iCloud: brctl download on the path returns Path is outside of any CloudDocs app library, will never sync
No MDM or endpoint-security agent running
Same result with the host tool's sandbox explicitly disabled, so it isn't the tool's own sandboxing
Going through login is a known way to lose TCC responsible-process attribution, so grants made to Orca.app may not reach the spawned shell. That would explain why the folder-scoped Documents grant doesn't apply even though Orca declares and appears to hold it.
Why Desktop and Downloads still work, I don't know.
Expected
~/Documents should behave like ~/Desktop and ~/Downloads for processes started in Orca.
Environment
macOS 26.5.1 (25F80), arm64
Orca 1.4.192 (com.stablyai.orca)
Shell: zsh
Workaround
Moving the working directory out of ~/Documents avoids it entirely.
changed the title [-]Processes spawned in Orca get EPERM on ~/Documents while ~/Desktop and ~/Downloads work[/-][+][Bug]: Processes spawned in Orca get EPERM on ~/Documents while ~/Desktop and ~/Downloads work[/+]on Aug 31, 2026
Reproduced with full root-cause evidence. The daemon hosting the terminal was an orphan from a previous app generation (PPID 1, 13-day / 8-release drift), not a TCC-configuration problem. ⌘Q plus relaunch reused the orphan and did not fix it; killall -9 Orca "Orca Helper" did, instantly. Details and process-ancestry evidence in #17696: #17696 (comment)
Same ~/Documents-only EPERM symptom as this report.
Thanks for the report! This is the same problem tracked in #17696, so I'm closing this as a duplicate to keep the discussion in one place. Please add any extra details there.
Activity
[-]Processes spawned in Orca get EPERM on ~/Documents while ~/Desktop and ~/Downloads work[/-][+][Bug]: Processes spawned in Orca get EPERM on ~/Documents while ~/Desktop and ~/Downloads work[/+]zi-gae commentedon Sep 6, 2026
Reproduced with full root-cause evidence. The daemon hosting the terminal was an orphan from a previous app generation (PPID 1, 13-day / 8-release drift), not a TCC-configuration problem.
⌘Qplus relaunch reused the orphan and did not fix it;killall -9 Orca "Orca Helper"did, instantly. Details and process-ancestry evidence in #17696: #17696 (comment)Same
~/Documents-only EPERM symptom as this report.nwparker commentedon Nov 26, 2026
Thanks for the report! This is the same problem tracked in #17696, so I'm closing this as a duplicate to keep the discussion in one place. Please add any extra details there.