Skip to content

Instantly share code, notes, and snippets.

@clouedoc
Created September 30, 2024 14:05
Show Gist options
  • Save clouedoc/5dcf4c640295b0195e64f85f5c5ac82d to your computer and use it in GitHub Desktop.
Save clouedoc/5dcf4c640295b0195e64f85f5c5ac82d to your computer and use it in GitHub Desktop.
iCloud drive making it impossibe to access files, right clicking, stuck on a loading state

Disabling iCloud optimisation

Recently, my mac started exhibiting a strange behavior...

Accessing some files, even from the terminal, was extremely slow.

Finder was stuck when opening some folders.

Uploading some files from my terminal through Firefox made Finder hang forever.

The cause

I enabled syncing of Documents and Desktop to iCloud. Also, storage optimization was enabled (somehow) on my Mac. I think that it causes the filesystem to ping iCloud each time I want to access a file.

The solution

  1. Go into your settings
  2. Click on "Stock in iCloud" (sorry, my UI is in french, so translation won't be perfect)
  3. Disable it!

It won't disable iCloud; rather, it will disable storage optimisation.

Thankfully, I still had space left on my device... it looks like everything is still available locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment