From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28565 invoked by alias); 16 Feb 2014 07:35:16 -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 28543 invoked by uid 89); 16 Feb 2014 07:35:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Received: from smtpback.ht-systems.ru (HELO smtpback.ht-systems.ru) (78.110.50.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 16 Feb 2014 07:35:13 +0000 Received: from [91.78.166.180] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) id 1WEwFn-0006FE-8h; Sun, 16 Feb 2014 11:35:07 +0400 Received: from [192.168.1.10] (HELO localhost) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 16 Feb 2014 07:27:13 -0000 Date: Sun, 16 Feb 2014 07:35:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <957006624.20140216112713@yandex.ru> To: Marco Atzeri , cygwin@cygwin.com Subject: Re: Installer cannot write to Cygwin's /usr/local/etc In-Reply-To: <53006573.9080301@gmail.com> References: <53001E78.8060706@verizon.net> <53006573.9080301@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00408.txt.bz2 Greetings, Marco Atzeri! >> 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? > it should be no difference. > However you can check the Windows ACL with > $ cd /usr/local > /usr/local > $ getfacl bin I would say, if you want to see _windows_ permissions, you need to use cacls. gerfacl only show POSIX approximation of windows permissions. -- WBR, Andrey Repin (anrdaemon@yandex.ru) 16.02.2014, <11:21> Sorry for my terrible english... -- 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