Error map

rm/mv: Operation not permitted (System Integrity Protection) macOS: rm: /usr/bin/python: Operation not permitted — even with sudo

macOS · layer 6, Platform & cloud

Open the full error page →

Centre: this error. First ring: errors it is linked with (7). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

rm/mv: Operation not permitted (System Integrity Protection) — macOS: rm: /usr/bin/python: Operation not permitted — even with sudo (macOS)rm/mv: Oper…Operation not permitted (macOS privacy) — macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection) (macOS)Operation not permi…zsh: command not found: brew — macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon) (macOS)zsh: command not fo…Read-only file system (macOS system volume) — macOS: mkdir: /data: Read-only file system / touch: /usr/bin/x: Read-only file system (macOS)Read-only file syst…Docker Desktop requires privileged access (vmnetd) — macOS: Docker Desktop needs privileged access / com.docker.vmnetd could not be started (macOS)Docker Desktop requ…Item is locked / cannot be deleted (chflags uchg) — macOS: The operation can't be completed because the item is locked / rm: Operation not permitted (uchg flag) (macOS)Item is locked / ca…Homebrew: Permission denied @ dir_s_mkdir — Homebrew: Error: Permission denied @ dir_s_mkdir - /usr/local/Cellar / /opt/homebrew is not writable (macOS)Homebrew: Permissio…You don't have write permissions for the /Library/Ruby/Gems directory — macOS: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory (macOS)You don't have writ…EACCES — npm ERR! code EACCES — permission denied (npm)EACCESdaemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemonEACCES — Linux: Permission denied (Linux)EACCEScommand not found — bash: command not found (Linux)command not foundexecutable file not found in $PATH — OCI runtime create failed: exec: "x": executable file not found in $PATH (Docker)executable file not…Argument list too long — bash: /bin/rm: Argument list too long (Linux)Argument list too l…Homebrew: No available formula with the name — Homebrew: Error: No available formula with the name "x". Did you mean ...? (macOS)Homebrew: No availa…Your Command Line Tools are too outdated — Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS (macOS)Your Command Line T…Homebrew Cask: It seems there is already an App at — Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app' (macOS)Homebrew Cask: It s…sudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoerssharp module — Error: Could not load the "sharp" module using the linux-x64 runtime (npm)sharp moduleesbuild wrong platform — You installed esbuild for another platform than the one you're currently using. (npm)esbuild wrong platf…Volume failed to unmount / disk not ejected because in use — macOS: diskutil: Unmount of disk2s1 failed: at least one volume could not be unmounted / The disk wasn't ejected because one or more programs may be using it (macOS)Volume failed to un…Finder error code -36 — macOS: The Finder can't complete the operation because some data in "x" can't be read or written. (Error code -36) (macOS)Finder error code -…Finder error code -43 — macOS: The operation can't be completed because one or more required items can't be found. (Error code -43) (macOS)Finder error code -…npm update check failed — npm update check failed — Try running with sudo or get access to the local update config store (npm)npm update check fa…PermissionError — PermissionError: [Errno 13] Permission denied: '/path' (Python)PermissionErrorexec permission denied — exec /entrypoint.sh: permission denied (container won't start) (Docker)exec permission den…permission denied (volume) — Permission denied writing to a mounted volume inside a Docker container (Docker)permission denied (…UNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…avc: denied — SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions) (Linux)avc: denied

Directly related (7)

Operation not permitted (macOS privacy)macOS

macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)

macOS privacy protection (TCC) blocked access to protected folders (Desktop, Documents, Downloads, Mail, Photos, external volumes…

zsh: command not found: brewmacOS

macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon)

Homebrew is installed in /opt/homebrew on Apple Silicon Macs, which isn’t on PATH until you add its shellenv line.

Read-only file system (macOS system volume)macOS

macOS: mkdir: /data: Read-only file system / touch: /usr/bin/x: Read-only file system

Since Catalina the system volume is read-only and sealed; you can't create directories at `/` or modify system folders.

Docker Desktop requires privileged access (vmnetd)macOS

macOS: Docker Desktop needs privileged access / com.docker.vmnetd could not be started

Docker Desktop couldn't install or start its privileged helper, so it can't set up networking.

Item is locked / cannot be deleted (chflags uchg)macOS

macOS: The operation can't be completed because the item is locked / rm: Operation not permitted (uchg flag)

A file has the immutable (`uchg`) flag or is in use, so Finder/`rm` refuse to delete or change it.

Homebrew: Permission denied @ dir_s_mkdirmacOS

Homebrew: Error: Permission denied @ dir_s_mkdir - /usr/local/Cellar / /opt/homebrew is not writable

Homebrew can't write to its prefix because the folders are owned by another user or root.

You don't have write permissions for the /Library/Ruby/Gems directorymacOS

macOS: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory

`gem install` tries to write into Apple's system Ruby, which is protected and shouldn't be modified.

Two steps away (21)

EACCESnpm

npm ERR! code EACCES — permission denied

npm can’t write to a directory — usually global installs into a root-owned folder.

daemonDocker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.

EACCESLinux

Linux: Permission denied

Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

executable file not found in $PATHDocker

OCI runtime create failed: exec: "x": executable file not found in $PATH

The command you asked the container to run doesn’t exist inside the image — wrong command name, a shell that isn’t installed (bas…

Argument list too longLinux

bash: /bin/rm: Argument list too long

A glob like * expanded to more file names than the kernel allows in one command (ARG_MAX), so the command never ran.

Homebrew: No available formula with the namemacOS

Homebrew: Error: No available formula with the name "x". Did you mean ...?

Homebrew can't find a formula or cask with that name in the taps it knows.

Your Command Line Tools are too outdatedmacOS

Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS

Homebrew requires a newer Command Line Tools version than the one installed.

Homebrew Cask: It seems there is already an App atmacOS

Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app'

A cask install failed because the app is already installed manually (or a leftover exists).

sudoersLinux

user is not in the sudoers file. This incident will be reported.

Your account isn’t allowed to use sudo.

sharp modulenpm

Error: Could not load the "sharp" module using the linux-x64 runtime

sharp’s native binary for this OS/CPU isn’t installed — usually node_modules installed on another platform (Mac → Linux/Docker).

esbuild wrong platformnpm

You installed esbuild for another platform than the one you're currently using.

node_modules contains esbuild’s binary for a different OS/CPU.

Volume failed to unmount / disk not ejected because in usemacOS

macOS: diskutil: Unmount of disk2s1 failed: at least one volume could not be unmounted / The disk wasn't ejected because one or more programs may be using it

macOS can't eject a drive because a process still has files open on it.

Finder error code -36macOS

macOS: The Finder can't complete the operation because some data in "x" can't be read or written. (Error code -36)

Finder hit a read/write problem while copying — usually metadata files (`._*`, `.DS_Store`) on non-Mac file systems or a failing…

Finder error code -43macOS

macOS: The operation can't be completed because one or more required items can't be found. (Error code -43)

Finder tried to act on an item that is gone, renamed, or an alias/symlink pointing nowhere.

npm update check failednpm

npm update check failed — Try running with sudo or get access to the local update config store

npm’s update notifier couldn’t write its config — usually root-owned files in ~/.config from a past sudo npm.

PermissionErrorPython

PermissionError: [Errno 13] Permission denied: '/path'

The OS refused the file operation — no permission, a directory passed to open(), or (on Windows) the file is open elsewhere.

exec permission deniedDocker

exec /entrypoint.sh: permission denied (container won't start)

The entrypoint or command isn’t marked executable inside the image, or it’s on a volume mounted noexec.

permission denied (volume)Docker

Permission denied writing to a mounted volume inside a Docker container

The process inside the container runs as a user (UID) that doesn’t own the bind-mounted host folder, so reads/writes fail with EA…

UNPROTECTED PRIVATE KEY FILELinux

WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open

SSH refuses to use a private key that other users can read; it must be readable only by you (chmod 600).

avc: deniedLinux

SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions)

SELinux blocked the access — file permissions look fine, but the file’s security context or a boolean doesn’t allow the service t…