I'm running Ventura on an Mac mini 2018, though I think this issue predates Ventura. This was an issue a year or two ago and I just couldn't deal with it at the time, but now I really need the drive space back.
A while back I was setting up macOS VM's, and I downloaded or copied over from a backup drive the installer apps for Mojave and Catalina. Now I can't delete them.
If I try to empty trash, I get error that "The operation can't be completed because the item "Install macOS Mojave.app" is in use.
If I try to bypass the trash, same issue.
If I try terminal command sudo rm -R, errors out with "Permission denied".
I've tried deleting from safe mode.
I've tried booting from an install flash drive and running disk utility on the SSD. No errors.
There's got to be some utility that will erase the files?
A while back I was setting up macOS VM's, and I downloaded or copied over from a backup drive the installer apps for Mojave and Catalina. Now I can't delete them.
If I try to empty trash, I get error that "The operation can't be completed because the item "Install macOS Mojave.app" is in use.
If I try to bypass the trash, same issue.
If I try terminal command sudo rm -R, errors out with "Permission denied".
I've tried deleting from safe mode.
I've tried booting from an install flash drive and running disk utility on the SSD. No errors.
There's got to be some utility that will erase the files?