Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Ah I just noticed this too. Hmm strange

you can save it using text wrangler i have found but these days I just do the editing inside of terminal. Would be amazing to just use that terminal command and edit quickly in textedit though.

The duplicate thing has been around since at least Lion though
 
that is cool but when it opens the document is locked and it tries to make a duplicate to make any changes. Any way to have it unlocked? I thought sudo would have taken care of that.

You are right, TextEdit appears to de-elevate itself when invoked as root. You can use any other editor though. My recommendation is TextMate 2. OS X also comes bundled with terminal-only editors vi and nano.
 
You are right, TextEdit appears to de-elevate itself when invoked as root. You can use any other editor though. My recommendation is TextMate 2. OS X also comes bundled with terminal-only editors vi and nano.

TextMate 2 is awesome, thank you very much
 
Is there any reason you can't just use nano on the hosts file?

From the terminal just type sudo nano /etc/hosts

Much easier than vi (IMO) and can be edited nice and quickly from there :)
 
I've made update after Yosemite official release and my previously set hosts don't work. I used custom hosts with vpn connection if it's matter.
Solutions described above doesn't work for me.
If anybody know a solution then share it, please.
 
OS X upgrades usually trash my custom hosts file - I presume the usual sudo nano commands are the same in 10.10 as before?
Thanks for reply :rolleyes:
/private/etc/hosts is fine. Of cause I have checked it first of all ;)

I found this topic and guys there have same problem as me and don't have a solution.
 
Thanks for reply :rolleyes:
/private/etc/hosts is fine. Of cause I have checked it first of all ;)

I found this topic and guys there have same problem as me and don't have a solution.

Something that by the look of it won't affect me too much thankfully.

Is that Gasmask app still being supported? I used to give n00bs the link for that who I thought would have had heart failure using nano in terminal.
 
Something that by the look of it won't affect me too much thankfully.

Is that Gasmask app still being supported? I used to give n00bs the link for that who I thought would have had heart failure using nano in terminal.
Good joke, g@y...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.