X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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: <1975299711 DOT 20140907190048 AT yandex DOT ru> From: Frank Fesevur Date: Mon, 8 Sep 2014 22:23:31 +0200 Message-ID: Subject: Re: vim can't write /etc/hosts To: "cygwin AT cygwin DOT 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