This is the mail archive of the
cygwin
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.
Thorsten
--
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