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

2011-05-16 Thread Christopher Faylor
On Mon, May 16, 2011 at 11:14:22AM +0200, Matthias Andree wrote: >Am 16.05.2011 11:09, schrieb Avishai Geller: >> 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 preventi

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

2011-05-16 Thread Thorsten Kampe
* 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 Administr

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

2011-05-16 Thread Matthias Andree
Am 16.05.2011 11:09, schrieb Avishai Geller: > 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. Don't second-guess. http://www.chiark.greenend

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

2011-05-16 Thread Avishai Geller
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. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com