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: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 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=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: References: Date: Thu, 4 Sep 2014 22:33:14 -0400 Message-ID: Subject: Re: vim can't write /etc/hosts From: Darik Horn To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Thu, Sep 4, 2014 at 4:33 PM, Frank Fesevur 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