Deleted user without logging out Drive service. Now immortal object.

I've deleted a local user (short name temp) without logging out their Drive service. System preferences failed to delete the user folder so I ran

sudo rm -rf /Users/temp 

Everything is gone now EXCEPT /Users/temp/Library/CloudStorage/****folder

I've tried just about everything, including erasing from restore partition terminal, I get error "Resource deadlock avoided".


Now I've moved it to a graveyard folder and hopefully this computer won't get transferred with migration assistant when replacing with a new machine in the future.


What's up with immortal objects in deleted user folders?

How am I supposed to remove a user in the future to not get the same problem again?

macOS Tahoe 26.2


[Edited by Moderator]

MacBook Air, macOS 26.2

Posted on Jan 28, 2026 5:48 AM

Reply
3 replies

Jan 28, 2026 9:46 AM in response to John Eriksson

I've had a vaguely similar thing happen, although not with removing users. I ended up somehow with an iCloud folder (my account) which I had deleted but which popped up again and again in the Mac's Bin no matter what steps I took to delete it - including a fair bit of Terminal work. I'm a bit OCD about things like that and I put a lot of effort into getting rid of it but in the end I gave up and eventually, after a few months, it just disappeared from the bin. One of its subfolders popped up again a month or so later but that's gone too.


Sorry - no positive help I know - but maybe it's related to the problem you have and might disappear eventually.

Deleted user without logging out Drive service. Now immortal object.

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