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:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=WB
	lv95adArrovFGgY/2adP/XblHjtp4BF7FutYdhCioHVNtTYsh7W0gBGq93X5b+h4
	sYq83uYY3HQKvN0CT+WqlaNjlUcp0gGPOHSme5ftMOmDBY8MrrJRKR4wSa0GZHVI
	QXydATQpkos+SxW3Riqnz8JS585crTH4KKXbuOBrY=
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:date
	:message-id:subject:from:to:content-type; s=default; bh=3NioSEQN
	Oj0VKzbTBfa5XguCJX8=; b=PTutuWGOcHj2XT6UZmTp+9enwY4ZPXOqjlxYAgpb
	mTrQavU0Bi9Re3jASvgII74ngJojWODPsJYdkQo0o9SwRL1fAkOJpuGwdNNd3BYN
	FkGey0L53HH2bx6+cMeuker4W7AOYACXowdr0FfaXOQAkuTCFtY8CQ6uyG0TfDSd
	/5Q=
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=0.0 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-yh0-f48.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:date         :message-id:subject:from:to:content-type;        bh=Oh00kKh/FHFrBDnGxwY1M1PX0ukCFUjhhN1RGGa1iAI=;        b=VjemORpUtOM/HBKj0fMfOe783UO6u/Rrw+7vP6TDMEy4kqsyW+9ko7VMtpHsDqW/ch         RnXk6oMUMAT0sGObmZMg4mV0W4sAcx3w30ZJrWK+4UpKiPM7Mf8eU2j5GfBqv2WcrUDA         jHcce7FhPO5Z7gyI2tOqT3/8eWj3Wt0b8VYVyQn9R2o6I+d92TXCiLmq7iIOUd40EWbx         EAt5rDeIfYrylQanMoJwP4LsCkabsMjgj6UX79SF800hMReZlqINc6qu10tXQcZv5gep         eua93lfbi6jngsJ/Dri3NXnQx+9m8eZMYLd0C33OSzkGy/eLUC2cubn/Q1splGiFFZ4f         JKdA==
X-Gm-Message-State: ALoCoQk/hFFatyPUNPQFTDnnj1J59ls68wjxo1MNxqmRm2pxNUXew1F0VSTt61GU2N59T1k3ac9Q
MIME-Version: 1.0
X-Received: by 10.236.191.166 with SMTP id g26mr10875929yhn.30.1409884394155; Thu, 04 Sep 2014 19:33:14 -0700 (PDT)
In-Reply-To: <CAKf2h5SeYQ_Gg0u7ERH6ejZoXDwbPEB_ngpLzUO3qEexJYb0tA@mail.gmail.com>
References: <CAKf2h5SeYQ_Gg0u7ERH6ejZoXDwbPEB_ngpLzUO3qEexJYb0tA@mail.gmail.com>
Date: Thu, 4 Sep 2014 22:33:14 -0400
Message-ID: <CAPbcu1NwNyZDpoc8-ZyF___XXmG7sP2t=vytjijQRgc1cv830A@mail.gmail.com>
Subject: Re: vim can't write /etc/hosts
From: Darik Horn <dajhorn@vanadac.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On Thu, Sep 4, 2014 at 4:33 PM, Frank Fesevur
<ffes@users.sourceforge.net> wrote:
>
> Why can't vim write the file, or even better the symlinked file? I'm
> quite sure editing the symlink works in Win7, but can try tomorrow.

Starting "C:\Cygwin\bin\mintty.exe" through a "Run As Administrator"
context doesn't produce an elevated bash prompt on my Windows 8
workstation.

Starting the "Command Prompt (Admin)" shortcut instead and running
"C:\Cygwin\bin\bash.exe --login" inside should give you the expected
behavior.

--
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

