From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3435 invoked by alias); 5 Nov 2013 17:38:43 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 3424 invoked by uid 89); 5 Nov 2013 17:38:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: plane.gmane.org Received: from Unknown (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 05 Nov 2013 17:38:40 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VdkaE-00052G-Ah for cygwin@cygwin.com; Tue, 05 Nov 2013 18:38:30 +0100 Received: from pd9eb1e2a.dip0.t-ipconnect.de ([217.235.30.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Nov 2013 18:38:30 +0100 Received: from Stromeko by pd9eb1e2a.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Nov 2013 18:38:30 +0100 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: vi stealing SYSTEM-owned permissions and ownership Date: Tue, 05 Nov 2013 17:38:00 -0000 Message-ID: <87a9hi92b7.fsf@Rainer.invalid> References: <5274F396.A133C4CE@boland.nl> <52788702.B100AA7A@boland.nl> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00135.txt.bz2 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