macOS Desktop folder becomes unreadable from Terminal until reboot

Title: ~/Desktop becomes unreadable from the command line until reboot — only Desktop, FDA granted, no TCC denial logged


macOS 26.5.2 (25F84), Apple Silicon.


Every few days, ~/Desktop stops being readable from Terminal. ls ~/Desktop returns "Operation not permitted". A reboot fixes it, and it comes back hours to days later.


What makes it odd:


- Only Desktop. ~/Documents, ~/Downloads, ~/Pictures and ~ all list normally throughout.

- It's EPERM, not EACCES — so something above POSIX is refusing, on a directory I own with drwx------.

- Directory enumeration fails, individual files don't. opendir() fails via ls, shell globbing, find and os.listdir(). But stat on a file by explicit path works, and files in subdirectories of Desktop read and write normally. Over the course of one episode it degraded — early on I could still read and write top-level files, later only create new ones.

- Finder shows the Desktop perfectly the whole time, so the data and filesystem are fine.


What I've already ruled out:


- Terminal has Full Disk Access, and it's effective — the same shell can read /Library/Application Support/com.apple.TCC/TCC.db, which requires it.

- No deny entries in either TCC database. kTCCServiceSystemPolicyAllFiles is 2 (allowed) for Terminal, and there is no SystemPolicyDesktopFolder row denying anything.

- Nothing logged — log show --predicate 'subsystem == "com.apple.TCC"' produces no denials during an episode.

- Not a sandbox. sandbox_check(getpid(), NULL, 0) reports the process unsandboxed, and a per-path check returns allowed for Desktop.

- Permissions, ACL and flags are identical to ~/Documents, which works — same mode, same group:everyone deny delete, no flags.

- No system extensions installed. Nothing mounted on Desktop. Not an iCloud or third-party sync root.

- tccutil reset SystemPolicyDesktopFolder does nothing, which is consistent with TCC not being the thing denying.


So every policy layer I can inspect says access is permitted, and the kernel refuses anyway — which is why I assume stale cached authorization state for that vnode, and why a reboot clears it.


Has anyone seen this, and is there a way to clear it without rebooting? And is there somewhere other than the TCC subsystem I should be looking in the log to see what's actually issuing the denial?

MacBook Air 15″, macOS 26.5

Posted on Oct 16, 2026 10:37 AM

Reply
4 replies

Oct 16, 2026 12:30 PM in response to Zurarczurx

Zurarczurx wrote:
You sound like you know what you're doing, so apologies for potentially daft question. You've not got your Desktop in iCloud, have you.

It's better to phrase things using Apple's accepted terminology. That way, everyone knows what you're talking about.


I do have "iCloud Drive" enabled. And I do have "Desktop & Documents Folders" enabled.


That's the configuration where the Desktop reads "drwx------@".


I have a separate admin account that doesn't have anything enabled. It's very rare that I even log in to it. That's the one that has just "drwx------+".


I don't know if the difference in permissions would cause the problem you describe. It's more likely to be some 3rd party system modification. The ones most likely to interfere in this area would be "security" apps of any kind, various "utility", "clean up", or hack apps, or anything with 3rd party cloud sync services and/or Finder integration.


However, all of those are very popular and I've never seen the problem that you describe.

Oct 16, 2026 10:58 AM in response to esmith1032

You seem very knowledgable, perhaps a little too knowledgable. Maybe you've installed something or changed some configuration setting. And maybe you did that 4 years ago.


Can you clarify your iCloud status? I see you mentioned it, but that's not very definitive.


You said permission are "drwx------", but that's not what mine says. I have "drwx------@" with various iCloud and ACL settings. Even on another account that doesn't have iCloud turned on, I still have ACLs:


drwx------+  9 admin  staff    288 Jan  8  2025 Desktop

 0: group:everyone deny delete


My suspicion would be some 3rd party system modification, perhaps a "security" app or a "network utility" (scare quotes on purpose).

macOS Desktop folder becomes unreadable from Terminal until reboot

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.