public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Editing protected files in Windows 7 (like the etc/hosts file)
@ 2011-05-16  9:10 Avishai Geller
  2011-05-16  9:14 ` Matthias Andree
  2011-05-16  9:32 ` Thorsten Kampe
  0 siblings, 2 replies; 4+ messages in thread
From: Avishai Geller @ 2011-05-16  9:10 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

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/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing protected files in Windows 7 (like the etc/hosts file)
  2011-05-16  9:10 Editing protected files in Windows 7 (like the etc/hosts file) Avishai Geller
@ 2011-05-16  9:14 ` Matthias Andree
  2011-05-16 16:43   ` Christopher Faylor
  2011-05-16  9:32 ` Thorsten Kampe
  1 sibling, 1 reply; 4+ messages in thread
From: Matthias Andree @ 2011-05-16  9:14 UTC (permalink / raw)
  To: cygwin

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.org.uk/~sgtatham/bugs.html

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing protected files in Windows 7 (like the etc/hosts file)
  2011-05-16  9:10 Editing protected files in Windows 7 (like the etc/hosts file) Avishai Geller
  2011-05-16  9:14 ` Matthias Andree
@ 2011-05-16  9:32 ` Thorsten Kampe
  1 sibling, 0 replies; 4+ messages in thread
From: Thorsten Kampe @ 2011-05-16  9:32 UTC (permalink / raw)
  To: cygwin

* 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing protected files in Windows 7 (like the etc/hosts file)
  2011-05-16  9:14 ` Matthias Andree
@ 2011-05-16 16:43   ` Christopher Faylor
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Faylor @ 2011-05-16 16:43 UTC (permalink / raw)
  To: cygwin

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 preventing editing the file.
>
>Don't second-guess.
>
>http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Please don't short circuit our established bug reporting conventions:

http://cygwin.com/problems.html

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-16 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-16  9:10 Editing protected files in Windows 7 (like the etc/hosts file) Avishai Geller
2011-05-16  9:14 ` Matthias Andree
2011-05-16 16:43   ` Christopher Faylor
2011-05-16  9:32 ` Thorsten Kampe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).