This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: vim can't write /etc/hosts
- From: Frank Fesevur <ffes at users dot sourceforge dot net>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 8 Sep 2014 22:23:31 +0200
- Subject: Re: vim can't write /etc/hosts
- Authentication-results: sourceware.org; auth=none
- References: <CAKf2h5SeYQ_Gg0u7ERH6ejZoXDwbPEB_ngpLzUO3qEexJYb0tA at mail dot gmail dot com> <1975299711 dot 20140907190048 at yandex dot ru>
2014-09-07 17:00 GMT+02:00 Andrey Repin:
> Adding to what other people said, most self-respecting antivirus applications
> explicitly block access to system hosts file.
> For obvious reasons.
> If you absolutely NEED to modify it, and can't resolve your issues in any
> other way, disable hosts file protection first.
Just to make sure I just disabled Kaspersky and tested again. That is
not the cause of this problem. It would have surprised me a lot, since
nano and the echo command work as expected.
Regards,
Frank
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple