sudo rm -rf /System/Applications/News.app
rm: /System/Applications/News.app: Operation not permitted
If sudo <command> results in an “Operation not permitted” error, it’s not your computer.
PS. Dear fediverse, no need to suggest alternatives, my daily driver is a StarLabs LabTop running @elementary and I dev cross-platform/web apps that I need to test on macOS and Windows also. Thank you.
@aral Not necessarily, SELinux or AppArmor could do the same, or the absence of CAP_DAC_OVERRIDE . But yes, let's not talk about corner cases ^^
@doenietzomoeilijk Not comparable to SIP…
With SELinux, the admin can write their own SELinux policies, and managing roles, to set their system as they need… There's isn't any 3rd party forcing their policies upon your system.
Meaning if you need to do a certain task (e.g. authorising a process to access a certain directory, assigning a role to a user…), you don't have to *disable* SELinux. As the admin, you can configure SELinux to allow you to do so.
Mamot.fr est une serveur Mastodon francophone, géré par La Quadrature du Net.