logoalt Hacker News

phs318uyesterday at 11:38 AM3 repliesview on HN

If you touch those files into existence and chown to root and chmod to 0, it shouldn’t be able to ever overwrite them right?


Replies

sethops1yesterday at 7:52 PM

You want to use chattr +i (make the empty file immutable)

pmontrayesterday at 11:48 AM

I'm on my phone now so I can't check if something has changed, but what you want to protect from change is the directory, not the files. A file can be deleted and created again if the process can write the directory.

RaiausderDoseyesterday at 11:44 AM

yeah, should work. Will try readonly on windows too.

Now I can't see it anymore, but shouldn't the model be under chrome://on-device-internals/ -> model-status?

Maybe you can uninstall there too.