"Cannot overwrite an existing entry" when trying to add a host as a non-root user #3

Closed
Kami opened this Issue Mar 26, 2010 · 0 comments

Projects

None yet

2 participants

@Kami
Kami commented Mar 26, 2010

When you are trying to add a host as a non-root user (or the user does not have write access to /etc/hosts), you get the following error message:

Cannot overwrite an existing entry. Use the modify subcommand

Instead of something more meaningful like "/etc/hosts is not write-able, try to run this program as a super user" or something.

@bjeanes bjeanes was assigned Sep 24, 2011
@bjeanes bjeanes closed this in d321d47 Apr 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment