I’ve got a couple of files (empty directories) in the Trash I can’t delete. I own them, the mode is 777 and whether I use Empty Trash or use rm from the command line (with sudo or running as root) I get “Permission denied”. I tried booting into recovery mode and setting csrutil to disabled but that did nothing. Any ideas? It’s not the end of the world but every time I empty the trash I have to deal with the dialog box about not being able to delete them.
You said you disabled SIP in Recovery. You did not say you actually tried to delete from Recovery.
I did indeed try deleting them from Recovery with no success.
Try: sudo chflags nochg the_file
Then try to delete the_file
The command should be
nouchg
and it didn’t do anything.