specialunderwear / Hosts.prefpane

a Cocoa GUI for /etc/hosts
http://niggazpullintriggaz.blogspot.com/2011/11/how-i-managed-to-edit-etchosts-without.html
GNU General Public License v3.0
1.62k stars 126 forks source link

os x 10.8.2 has a 'different' hosts file #17

Open savraj opened 11 years ago

savraj commented 11 years ago

it's in /private/etc/hosts

here's how to edit it. it seems like the prefpane edits something else.

sudo su chflags nouchg /private/etc/hosts sudo nano /private/etc/hosts (make edits) chflags uchg /private/etc/hosts

https://discussions.apple.com/thread/4466790?start=0&tstart=0

specialunderwear commented 11 years ago

Ohhhh! Thanks! I think that is the bug many people are complaining about!

specialunderwear commented 11 years ago

I've got one more comment, are you sure that this is the DEFAULT for mountain lion? On this link: https://discussions.apple.com/message/19618986#19618986 it says the permissions are set like that by bitdefender antivirus!

savraj commented 11 years ago

I don't have bitDefender Antivirus, fyi

On Tue, Mar 26, 2013 at 4:45 AM, Lars van de Kerkhof < notifications@github.com> wrote:

I've got one more comment, are you sure that this is the DEFAULT for mountain lion? On this link: https://discussions.apple.com/message/19618986#19618986 it says the permissions are set like that by bitdefender antivirus!

— Reply to this email directly or view it on GitHubhttps://github.com/specialunderwear/Hosts.prefpane/issues/17#issuecomment-15446952 .

cviebrock commented 11 years ago

/etc is a symlink to /private/etc, so I think you'll find it's the same file.

savraj commented 11 years ago

you're right cviebrock /etc -> /private/etc