Emacs macOS Operation Not Permitted (Documents, Desktop, iCloud)
Quick answer
macOS privacy protection blocks Emacs from listing protected folders. Grant Full Disk Access to the Emacs app and restart it.
Most likely fix: Grant Full Disk Access
How to fix it
Try these in order — the most common fix is first.
1. Grant Full Disk Access
- Open System Settings > Privacy & Security > Full Disk Access
- Add Emacs.app and switch it on
- Quit and relaunch Emacs
Did this fix it?2. If it still fails
- Also add the helper binary mentioned in the error, if any
- Check folder permissions in Finder
- Some users report it recurs after macOS updates; re-add the app
Did this fix it?
Symptoms
Dired shows 'Listing directory failed but access-file worked' or 'Operation not permitted' in Documents, Desktop, Downloads or iCloud folders.
Why it happens
- macOS privacy controls since Catalina restrict protected folders per app
- Emacs was never granted access
- A helper binary such as ls or ruby, not Emacs, is the process being blocked
This guide also covers
- emacs operation not permitted mac
- emacs full disk access
- emacs dired permission denied macos
Still not working?
If GNU Emacs keeps failing, you're not alone. See every GNU Emacs problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to us