Problem with iCloud Drive "Desktop and Documents folder" check box not sticking I have a problem very similar to What could cause iCloud Drive to refuse to sync Desktop &amp; Documents?. I can't get the Preferences -&gt; Apple ID -&gt; iCloud Drive , Options ... -&gt; &quot;Desktop and Documents Folders&quot; check box to stick. I check it and there is a spinning wheel and the text &quot;Setting up&quot; and then I press done. But when I go back again it is still not checked.
I have a new MacBook Air M1 and with the latests 11.1 OSX. I have just started it and enabled iCloud.
When I look in the console and filter on bird, I get the following error messages:
default 16:46:30.160768+0100    bird    DSMoveSyncedDocumentsAndDesktopToHomeDirectory_V1 &lt;private&gt; -&gt; (null),&lt;private&gt; (0)
error   16:46:30.160867+0100    kernel  Sandbox: bird(969) deny(1) file-write-create /Users/oskar/.DS_BarrierSync
default 16:46:30.168781+0100    bird    &quot;The connection to ACDAccountStore was invalidated.&quot;
fault   16:46:30.195447+0100    bird    [CRIT] Failed to move synced Documents to Home Directory: Error Domain=NSPOSIXErrorDomain Code=66 UserInfo={NSFilePath=&lt;private&gt;}
error   16:46:30.198179+0100    bird    [ERROR] Failed to apply sync policy: -1 for folder type: 2, error: Error Domain=NSPOSIXErrorDomain Code=66 UserInfo={NSFilePath=&lt;private&gt;}
fault   16:46:30.219949+0100    bird    [CRIT] UNREACHABLE: there are still XPC clients around: &lt;private&gt;

I have tried removing the Documents folder that seems to help for some but I made no difference. Any ideas?
Later today I actually solved it. Mostly by chance. What I did was that I changed the computer name via Preferences -&gt; Sharing -&gt; Computer name:
I did anyway want to change it and after I changed it and checked the terminal I noticed some folder name change in my home directory.
So after this I again tried to check the Preferences -&gt; Apple ID -&gt; iCloud Drive , Options ... -&gt; &quot;Desktop and Documents Folders&quot; box, and this time it took longer for the spinning wheel and it worked. After allowing it to sync for 10 min and then a quick reboot I not have the desktop and documents folders under the iCloud Drive section in Finder and it is synced with all my precious documents and devices.