This is the mail archive of the
mailing list for the Cygwin project.
Re: Editing protected files in Windows 7 (like the etc/hosts file)
* Avishai Geller (Mon, 16 May 2011 02:09:57 -0700)
> How do I edit my hosts file in cygwin on Windows 7? VI opens it in
read-only mode. I have administrator permissions, but Windows 7 has that
UAC feature which I think is preventing editing the file.
You disable UAC or run the shell as Administrator.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple