This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: vi stealing SYSTEM-owned permissions and ownership
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 05 Nov 2013 18:38:20 +0100
- Subject: Re: vi stealing SYSTEM-owned permissions and ownership
- Authentication-results: sourceware.org; auth=none
- References: <5274F396 dot A133C4CE at boland dot nl> <52788702 dot B100AA7A at boland dot nl>
D. Boland writes:
> I think I have new information on the stealing of ownership. Below test has been
> performed on the Apache folder, placed in the Windows Program Files folder by the
> Apache msi installer:
>
> "/cygdrive/c/Program Files (x86)/Apache Group/Apache2/"
>
> But if I perform the same test in my Cygwin home directory, vi behaves beautifully.
>
> So, I was thinking this difference must be related to the Windows ACL assigments on
> the "Program Files" folder.
If you are operating as a normal user on this folder, you aren't
actually editing the files you think you see there, the whole contents
is virtualized by UAC and redirected to your own personal copy on edit.
If you want to keep your sanity, do not place anything that you intend
to edit / change as a normal user into system directories on Win7 (that
includes Cygwin itself).
http://msdn.microsoft.com/en-us/library/bb756960.aspx
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
--
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