All of the following is done as root after su admin and su root in terminal.
Ls -lO with pwd of /SharedSupport inside the package gives me
-rw-r–r-- 1 root wheel restricted 5544818527 Dec 12 2020 InstallESD.dmg
One directory up at SharedSupport gives me
drwxr-xr-x 3 root wheel - 96 Dec 12 2020 SharedSupport
And one more up at /Contents
drwxr-xr-x 3 root wheel - 96 Dec 12 2020 Contents
And one more up at /tmp
drwxr-xr-x 3 root wheel - 96 Dec 12 2020 Install macOS Mojave.app
Following tjluoma’s suggestion for using
sudo rm -fv InstallESD.dmg
And then continuing his suggestions again I still get Operation not permitted on the delete file command and ls -lO in the SharedSupport directory gives me
-rw-r–r-- 1 root wheel restricted 5544818527 Dec 12 2020 InstallESD.dmg
Storage that it shows restricted even as root…I’ll give Single User mode a try later on…shrug.