Hosts.prefpane icon indicating copy to clipboard operation
Hosts.prefpane copied to clipboard

os x 10.8.2 has a 'different' hosts file

Open savraj opened this issue 12 years ago • 5 comments

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

savraj avatar Feb 11 '13 03:02 savraj

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

specialunderwear avatar Feb 27 '13 09:02 specialunderwear

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!

specialunderwear avatar Mar 26 '13 08:03 specialunderwear

I don't have bitDefender Antivirus, fyi

On Tue, Mar 26, 2013 at 4:45 AM, Lars van de Kerkhof < [email protected]> 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 .

savraj avatar Mar 26 '13 14:03 savraj

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

cviebrock avatar May 15 '13 15:05 cviebrock

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

savraj avatar May 28 '13 22:05 savraj