Just when I was setting up Catalina (Beta 19A501i) after an upgrade from Mojave, I mistakenly created a folder at the root on my system drive in Catalina. I populated the folder with some LightRoom libraries, before realising that I should/could not have these at the root of my system drive.
I have copied them elsewhere, but now I need to get rid of that folder, and I can't...
I tried disabling SIP, but still I can't delete the folder (I have enabled SIP again).
What can I do?
1. Disable SIP (recovery mode, csrutil disable).
2. Restart.
2. Mount drive for read and write (sudo mount -uw /).
3. Assign rights for read and right ([sudo] chmod - R 775 /your\ folder\).
4. Delete it ([sudo] rm -rf /your\ folder\).
5. Restart.
5. Enable SIP (recovery mode, csrutil enable).
"sudo" in square brackets means it may be required (like in my case) while others report they managed to get result without it.