I downloaded macOS Installers 10.13.6 and 10.14.6 via softwareupdate
, and the InstallESD.dmg files are protected by root, and are restricted.
FYI: the flags on the file are: -rw-r--r-- 1 root wheel restricted ...
, I checked using ls -lO
How do I delete the files WITHOUT disabling SIP (majority of answers here, others don't work), because I feel like going through the effort of disabling SIP just to delete one file, and then restart your mac is unnecessary.