macOS has become so bloody insufferable that I am unable to figure out how to delete files from my own hard drive.
The drive in question used to be the internal boot volume in an older MacBook Pro of mine. I don't want to format it because I want to keep it around as an additional snapshot and backup of my personal data from that computer.
To clear up some space I want to delete is all the system stuff that I'll never need again, including the top-level System, Library and Applications folders.
What I have tried so far to delete these files is first a "sudo mount -uw /Volumes/OldDrive" to make the whole filesystem read-write, this succeeded.
Then I used "sudo xattr -rc Applications/ Library/ System/" and "sudo chmod -RN Applications/ Library/ System/" to get rid of any extended attributes and access control lists.
But even after all this, a "sudo rm -rf Applications/ Library/ System/" only got rid of nearly everything, a couple of folders can't be removed because of "Operation not permitted."
And of course removing these items in the Finder doesn't work either.
What else do I need to do?
The drive in question used to be the internal boot volume in an older MacBook Pro of mine. I don't want to format it because I want to keep it around as an additional snapshot and backup of my personal data from that computer.
To clear up some space I want to delete is all the system stuff that I'll never need again, including the top-level System, Library and Applications folders.
What I have tried so far to delete these files is first a "sudo mount -uw /Volumes/OldDrive" to make the whole filesystem read-write, this succeeded.
Then I used "sudo xattr -rc Applications/ Library/ System/" and "sudo chmod -RN Applications/ Library/ System/" to get rid of any extended attributes and access control lists.
But even after all this, a "sudo rm -rf Applications/ Library/ System/" only got rid of nearly everything, a couple of folders can't be removed because of "Operation not permitted."
And of course removing these items in the Finder doesn't work either.
What else do I need to do?