Mac Error 1 — Operation Not Permitted
Warningsystem errors
Overview
Mac error code 1 'Operation not permitted' occurs when a process lacks the required permissions, often due to Full Disk Access restrictions.
Key Details
- EPERM (error 1) is a POSIX permission denied error
- macOS Mojave+ introduced privacy protections requiring explicit permission grants
- Terminal and scripts need Full Disk Access to access protected directories
- Affects ~/Desktop, ~/Documents, ~/Downloads, Mail, Safari data, and more
- Different from error 13 (EACCES) which is traditional Unix permission
Common Causes
- Application or Terminal not granted Full Disk Access in Security preferences
- SIP preventing modification of system-protected files
- TCC (Transparency, Consent, and Control) database denying access
- Running a script that accesses privacy-protected user data
- Cron job or LaunchDaemon lacking necessary entitlements
Steps
- 1Grant Full Disk Access: System Preferences > Security & Privacy > Privacy > Full Disk Access > add Terminal or the app
- 2For automation tools, also grant Automation permissions in the Privacy tab
- 3Check SIP status: csrutil status in Terminal
- 4For scripts, ensure the parent process (Terminal, iTerm) has Full Disk Access
- 5Reset TCC database if corrupted: tccutil reset All (caution: resets all privacy permissions)
Tags
macerror-1epermpermissionsfull-disk-access
More in System Errors
windows-error-0xc000007bWindows Error 0xc000007b — Bad Image Format
Errorwindows-error-0xc0000225Windows Error 0xc0000225 — Boot Configuration Data Missing
Criticalwindows-sfc-scannow-unable-to-fixWindows SFC /scannow Found Corrupt Files But Unable to Fix
Errorwindows-error-0x80070490Windows Error 0x80070490 — Element Not Found
Errormac-error-102Mac Error Code -102 — Communication Error
Errormac-error-8076Mac Error Code -8076 — The Operation Can't Be Completed
ErrorFrequently Asked Questions
A macOS privacy permission that allows an app to access protected user data including Desktop, Documents, Downloads, and system databases.