X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=BxToE5n
	9OouU8xbWgZLfKNTuCp4hJXMitqZ73AKsrrim+i3ypuByC8fWiUIGpZjJlnVoIoD
	Vho0dMf8nj6LLh+pan6GwmIbsx9ick4zTmG/orgK5k4xiGOwahiJjM88rN2sNUkX
	DQqMTV+8kwgVX4LZLlI3juBoLn5AeHAt/bWo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=1c0WISv/S8wsZ
	3PxK8cB1xhqIY8=; b=Ywaw6sYy3RuBGNYpBW+OQpUDtZOR51dJMKVXMPASTGonA
	mczA4gQr4t2sX/tdso4x3EDRltr7NZNgrIHr9WVslX4jwuzAG6Wry51s5Zs8lT9D
	vdUdpenVw3QOO6TBaQH2Et1szCdU08jFI/TdXfDLbY6RF7TYSI2/wOccrNvhSA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: s87.webhostingserver.nl
X-Received: by 10.112.224.9 with SMTP id qy9mr30015233lbc.57.1410207841779; Mon, 08 Sep 2014 13:24:01 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <1975299711.20140907190048@yandex.ru>
References: <CAKf2h5SeYQ_Gg0u7ERH6ejZoXDwbPEB_ngpLzUO3qEexJYb0tA@mail.gmail.com> <1975299711.20140907190048@yandex.ru>
From: Frank Fesevur <ffes@users.sourceforge.net>
Date: Mon, 8 Sep 2014 22:23:31 +0200
Message-ID: <CAKf2h5SdCg7mSzoadNStfx0m2GtVT5rXbpvSHAhhJsCk7+n72Q@mail.gmail.com>
Subject: Re: vim can't write /etc/hosts
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

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

