Everywhere All articles Download Buy for $19

Getting files back

When macOS blocks a file from opening

Updated 2026-07-31 · 4 min read

'You do not have permission' and 'cannot be opened' are different problems with different fixes.

Which problem is it?

Read the exact message:

→ Gatekeeper quarantine

corruption

Each has its own fix; treating them the same is why people flail.

Permission fixes

ls -l@ file                          # see owner and mode
sudo chown "$(whoami)" file          # take ownership
chmod u+rw file                      # grant yourself read/write

Common after migrating from another Mac, where the old numeric user ID no longer matches.

Gatekeeper / quarantine

For an app or file you trust:

Only for files whose source you trust — this gate exists for a reason.

Format / corruption

Check what it really is:

file suspicious.pdf

A mismatch (a "PDF" that is HTML, a truncated image) explains the failure. The corrupted- file article covers salvage; the short version is try a more forgiving app, then fall back to Versions, Time Machine or a cloud version.

Locked files

Get Info → uncheck Locked, or:

chflags nouchg file

A locked file opens read-only or refuses edits — distinct from permissions, same felt symptom.

Common questions

Why does my Mac say I do not have permission to open my own file?

Ownership likely came from another user or Mac. sudo chown $(whoami) file and chmod u+rw file restore access.

How do I open a file blocked by Gatekeeper?

Right-click → Open and confirm, or System Settings → Privacy & Security → Open Anyway, for sources you trust.

Find any file before you finish typing

Everywhere keeps track of every file on your Mac, including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.

Version 2.20.3 · macOS 13+ · 4.7 MB · notarised

Related

© 2026 Caretopia Network Private Limited Everywhere for Mac Buy a licence Articles Privacy Support