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 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.
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.