Editing protected files in Windows 7 (like the etc/hosts file)

Thorsten Kampe thorsten@thorstenkampe.de
Mon May 16 09:32:00 GMT 2011


* 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



More information about the Cygwin mailing list