X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; q=dns; s=default; b=Vh0
	F51MRPxjMjZLz8JdWnCfkLaTE0B2I48iMmfLyRqEJtyFiMGhTlD34Rw7ZLdApqKc
	VxpCbF4I58n4ByniZ+P1CeLi5ITubzfq5u+GdgjB73oWiKrQzh2mKxBYE0WWqPAc
	y3vbLSbeZJFIlH5Ytrcz08Xafg1pyvp+pzKi1fwQ=
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:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; s=default; bh=UialyueWa
	Bc5QNSA0IxqH3tMHi0=; b=F8lRia3S8jkvhDzw2xtI2ilU5ulPng8+72SHddUA/
	m3WrMCsvscM97yDy6chPnsw5O2z9ZrWZQSJdSfeBMCTg9frstg+MZO2lFj0ZWzkW
	9KA4vjsYkehddyHncgr7ypvAR7j2qGQMY6EIDwcFwHH1/b2M1boVnQgnFZ9zzTjB
	6k=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2
X-HELO: vms173025pub.verizon.net
Message-id: <53001E78.8060706@verizon.net>
Date: Sat, 15 Feb 2014 21:12:08 -0500
From: Gerry Reno <greno@verizon.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Installer cannot write to Cygwin's /usr/local/etc
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: 7bit
X-IsSubscribed: yes

I have a Windows MSI installer that first loads Cygwin and then has a deferred copy of some files into /usr/local/bin
and /usr/local/etc.

The copies into /usr/local/bin succeed fine. 

The copies into /usr/local/etc always get Access denied.

I've tried swapping them and same behavior.  The files that would copy into /usr/local/bin now would not copy into
/usr/local/etc.

I'm seeing this behavior on Windows 7 and Windows 2008R2 w/UAC.

The installer prompts the user for elevated privileges to deal with UAC.

Is there some underlying difference in the way that /usr/local/bin and /usr/local/etc are configured in Cygwin?



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

