From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5716 invoked by alias); 27 Nov 2013 18:11:27 -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 5700 invoked by uid 89); 27 Nov 2013 18:11:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS,SPF_PASS 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; Wed, 27 Nov 2013 18:11:24 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VljZy-0006L6-1U for cygwin@cygwin.com; Wed, 27 Nov 2013 19:11:14 +0100 Received: from boland.xs4all.nl ([213.84.69.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Nov 2013 19:11:14 +0100 Received: from daniel by boland.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Nov 2013 19:11:14 +0100 To: cygwin@cygwin.com From: "D. Boland" Subject: Re: vi stealing SYSTEM-owned permissions and ownership Date: Wed, 27 Nov 2013 18:11:00 -0000 Message-ID: <529634BE.C59ADC76@boland.nl> References: <5274F396.A133C4CE@boland.nl> <52788702.B100AA7A@boland.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00438.txt.bz2 Again, thanks for the input. I's now about three weeks later. I made all of my students re-install Apache in: /cygdrive/c/Apache2 and made them symlink this location on: /usr/local/apache For me, Achim Gratz's comment on the "Program Files" folder made perfect sense: >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). I am also a software developer, and most of my releases are installed on MS Citrix servers for remote desktop connections. I initially made the mistake to put all files in the "Programs Files" folder, including the executable, the database and configuration files (.ini). This works fine on a stand-alone XP/Win7 PC, but in a Citrix environment this crashes the application, because of lacking write permissions on the .ini files. Then I found out about the "Application Data" folder. Releasing my database and .ini files to that folder solved the problem. MS has an article about it: http://msdn.microsoft.com/en-us/library/windows/apps/jj553522.aspx This would mean that in order to install Windows native and avoid virtualization of the conf files the Apache Group should release Apache for Windows into both "Program Files" and "Application Data": Program Files ------------- bin error icons include lib manual modules Application Data ---------------- cgi-bin conf htdocs logs proxy Thanks again for the comments, Daniel -- Sent by my Altair 8800 -- 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