From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12974 invoked by alias); 16 Feb 2014 09:05:21 -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 12961 invoked by uid 89); 16 Feb 2014 09:05:19 -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 09:05: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 1WExeu-000256-4W; Sun, 16 Feb 2014 13:05:08 +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 08:57:20 -0000 Date: Sun, 16 Feb 2014 09:09:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <343221677.20140216125720@yandex.ru> To: Marco Atzeri , cygwin@cygwin.com Subject: Re: Installer cannot write to Cygwin's /usr/local/etc In-Reply-To: <53007ADE.1050309@gmail.com> References: <53001E78.8060706@verizon.net> <53006573.9080301@gmail.com> <957006624.20140216112713@yandex.ru> <53007ADE.1050309@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/msg00412.txt.bz2 Greetings, Marco Atzeri! >>> 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. >> >> > correct. > Curious however > NOTE: Cacls is now deprecated, please use Icacls. > but the two provide a slight different outputs: I have no access to my Win7 box right now (I've somehow managed to lock my account while experimenting with `net user' command in the light of new Cygwin functionality, and being swamped by ongoing work load decided to postpone investigation... though it is probably worth a warning...) What icacls says about "X" meaning? (That seems to be the only difference?) (BTW, you can specify multiple objects for [i]cacls to inspect at once.) > $ Icacls etc > etc GE-MATZERI-EU\0356EU:(F) > BUILTIN\Administrators:(RX) > Everyone:(RX) > CREATOR OWNER:(OI)(CI)(IO)(F) > CREATOR GROUP:(OI)(CI)(IO)(RX) > Everyone:(OI)(CI)(IO)(RX) > $ Icacls bin > bin GE-MATZERI-EU\0356EU:(F) > BUILTIN\Administrators:(RX) > Everyone:(RX) > CREATOR OWNER:(OI)(CI)(IO)(F) > CREATOR GROUP:(OI)(CI)(IO)(RX) > Everyone:(OI)(CI)(IO)(RX) > $ cacls etc > E:\cygwin\usr\local\etc GE-MATZERI-EU\0356EU:F > BUILTIN\Administrators:R > Everyone:R > CREATOR OWNER:(OI)(CI)(IO)F > CREATOR GROUP:(OI)(CI)(IO)R > Everyone:(OI)(CI)(IO)R > $ cacls bin > E:\cygwin\usr\local\bin GE-MATZERI-EU\0356EU:F > BUILTIN\Administrators:R > Everyone:R > CREATOR OWNER:(OI)(CI)(IO)F > CREATOR GROUP:(OI)(CI)(IO)R > Everyone:(OI)(CI)(IO)R -- WBR, Andrey Repin (anrdaemon@yandex.ru) 16.02.2014, <12:50> 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