Emacs macOS Operation Not Permitted (Documents, Desktop, iCloud)

Share
Workaround available macOS Updated November 14, 2026Based on 3 user reportsHow we research

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. 1. Grant Full Disk Access

    1. Open System Settings > Privacy & Security > Full Disk Access
    2. Add Emacs.app and switch it on
    3. Quit and relaunch Emacs
    Did this fix it?
  2. 2. If it still fails

    1. Also add the helper binary mentioned in the error, if any
    2. Check folder permissions in Finder
    3. 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
Fixed it? Share this guide

Other GNU Emacs errors