Hi there. I was hoping I could resolve this issue with a quick google search but that was lead me down a whole rabbit hole thats led to nothing but frustration. Recently, I emptied my trashcan and it said it could not delete one file because it was still in use. I then closed all applications on my Mac, and even confirmed so in the Activity Monitor that it or similar processes were running. It still refused to be deleted. Here is what I have tried:
- Sudo rm and all its related commands in Terminal
- It says that its a directory, and fails to remove it. rmdir fails as well, saying it's not empty. But it is... (see below)
- Using Cleaning/ Deletion apps such as CleanMyMac and OnyX
- Both are able to delete seemingly everything BUT this file. Both have Full Disk Access
- "Delete Immediately"
- Gives the error in the attached image
- Confirming it is not locked in Get info, and I have correct/ necessary permissions to delete/ edit it.
- All the mentioned above, but in Safe Boot/Mode