Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Basic75

macrumors 68020
Original poster
May 17, 2011
2,140
2,531
Europe
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?
 
Try from Recovery. Unmount/remount the volume to make it writable.
 
Try from Recovery. Unmount/remount the volume to make it writable.
I had booted from an internal disk, the issues are with an external disk that used to be the internal disk of a different Mac. I did issue a "sudo mount -uw /Volumes/OldDrive" and could confirm that it was indeed read-write thereafter.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.