I am logged in with my admin account, which is my only account on this computer. I checked under preferences and it says "admin".

I have located the file here:


When I go to getinfo, it looks like the file is not locked. I also added myself and for good measure everyone with r&w permissions:

enter image description here

Still, when I open it and try to edit it, it says I have no permission:

enter image description here

What am I doing wrong here?

  • 1
    This question is not a duplicate. Additionally, disabling SIP just to edit the hosts file is really not good measure. A commandline "sudo" would have helped. – Gummibando Mar 15 at 9:16
  • I can edit the hosts file using BBEdit, (a highly recommended text editor). – benwiggy Mar 15 at 9:18

Browse other questions tagged .