Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Any idea of how to edit this. Deletion is not permitted.
I just tried to copy using sudo in terminal and it failed.

The system files are read only. There is a way to turn off system protection, but I've never done it, I do know it requires restart in recovery mode.
 
I just tried to copy using sudo in terminal and it failed.

The system files are read only. There is a way to turn off system protection, but I've never done it, I do know it requires restart in recovery mode.
Are we sure that we can turn it off on Apple Silicon Macs in the same fashion as was done on Intel Macs? I don't doubt that there is a way on Apple Silicon Macs, but I'd be shocked if the process wasn't very different in some way.
 
  • Like
Reactions: Zazoh
Are we sure that we can turn it off on Apple Silicon Macs in the same fashion as was done on Intel Macs? I don't doubt that there is a way on Apple Silicon Macs, but I'd be shocked if the process wasn't very different in some way.
No. Not sure. I did see on Reddit yesterday that a blogger had discovered a ‘Sealed’ system notification where there is a hash file the system checks on boot to ensure there are no alterations. His article had screen shots but his point was speculative.

In that cache location there are a handful of files that are 2.4 GB, I’m hoping those don’t just continue to grow?
 
aot_shared_cache, like the other files in that folder, is the prebuilt and prelinked dyld cache for the system frameworks. This is a new feature of Big Sur, whereby these frameworks are only shipped on the OS in this form, rather than as a bunch of .framework or .dylib files. The aot one just happens to be the one for use by Rosetta 2 compiled apps.

None of them will grow in size except via system updates, and only if any system frameworks add significant amounts of code or data.

The actual code cache for user supplied binaries lives in /var/db/oah/, which is a protected location that not even root can browse.
 
  • Like
Reactions: Ningj and Leon1das
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.