This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vim can't write /etc/hosts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]