X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type; q=dns; s=default; b=u17ezg//73f3Vyy8 gYo38yzZ09RGJxR3JaqH/MnslIvrIMHuWFjIsE9KlcUvQzUNjOqNTbDLTKWEKeby ZnvK8h5VGBLgqb4QF3s+LvYjjjf9SC2cQZ/PDjLWSnyBIYljd8V2YjYz02nFsuOd 5E8c8NZzba2aVDOvhsaBxNxiMyg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type; s=default; bh=xEhVVImHRHFZ5R+toIfM3l GNwEI=; b=fAFIL9Qe6e+D3jLBD1d41mEfV3hOxQp1UOc0DOchfX/0d7bIxjluSe r4uliYYzMwPttcX6SMoQSOAoZvd8mF6/eG6oIzp7nhCbeGzX9xF8zx59VcLw9CPw ayKWrpwwGt91AbmvfO4Q5NUmG9mAJZX+88XqEaxOXKWgZLkxSF5pA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: vi stealing SYSTEM-owned permissions and ownership Date: Tue, 05 Nov 2013 18:38:20 +0100 Lines: 29 Message-ID: <87a9hi92b7.fsf@Rainer.invalid> References: <5274F396 DOT A133C4CE AT boland DOT nl> <52788702 DOT B100AA7A AT boland DOT 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 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