Update:
Please check the solution linked by @Phill, verified on 10.15.4
I used csrutil disable
to turn off System Integrity Protection and deleted some unused pre-installed apps before macOS 10.14. Recently, I upgraded to macOS 10.15 Beta (19A487l) and found this way didn't work anymore. My admin account only has Read-only access for pre-installed applications.
The /Applications
in Terminal is actually /System/Volumes/USER-Data/Applications
.
➜ ~ ls /Applications
Alfred 4.app Safari.app Utilities
Google Chrome.app ShadowsocksX-NG.app Visual Studio Code.app
I don't have write access to /System/Applications
.
➜ ~ sudo rm -rf /System/Applications/Stickies.app
...
rm: /System/Applications/Stickies.app: Read-only file system
I also cannot change the privilege from Finder -> /System/Applications/Stickies.app -> Get Info -> Sharing & Permissions
, it says:
The operation can’t be completed because you don’t have the necessary permission.
I've read Is it possible to delete the "useless" apps pre-installed on my Mac? and chflags
didn't work either because of Read-only.
How can I access to the "real" system
account or is there the other way to delete or hide those applications?
Thank you.
sudo mount uw /
then you can delete the apps (at least you can using AppCleaner). Thread link: reddit.com/r/osx/comments/dfetr4/…sudo mount -uw /