Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

thebart

macrumors 6502a
Original poster
Don't remember when it started but every time I empty the trash, Finder tells me it can't because some process is using some file. Doesn't tell me which process and which files, of course. If I click Skip then it goes ahead and empties the trash successfully anyway

Doesn't matter what's in the trash. Could be one single file I just deleted as a test.

Already filed feedback.

If anyone else is seeing this, please file feedback too
 
I'm still on Sequoia, but this started happening to me yesterday. I'm pretty sure it happened to me before, years ago. But I can't recall the fix. Sorry. If I come up with anything, I'll report back.
 
Reporting back 🙂

I deleted ~/.Trash from the command line – it has deny delete everyone on it, so requires sudo – then logged out and in again, and all was good. macOS recreated the .Trash directory.

It's odd, because the .Trash folder's permissions are exactly the same now as before, so essentially nothing's changed.
 
(Could it have been that the Trash contained a hidden file which was indeed being used by something?)
 
^sounds like a fancy version of lsof command.

lsof might be sufficient. From a Terminal:

Code:
lsof | grep Trash

Or just run lsof and scroll the Terminal window to see all the output of the command.

Will list files in use, pathname, and part or all of the process/program/app/command in use.

Lots of options for the command, so can dial it in better, but hopefully, example will be sufficient.

Or: hold option key while doing "Empty Trash" (been ages since I've done this so WAG on my part).

Or: from Terminal:

Code:
sudo rm -rf ~/.Trash/*
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.