From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24864 invoked by alias); 16 Feb 2014 10:09:52 -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 24850 invoked by uid 89); 16 Feb 2014 10:09:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 X-HELO: mail-ea0-f172.google.com Received: from mail-ea0-f172.google.com (HELO mail-ea0-f172.google.com) (209.85.215.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 16 Feb 2014 10:09:50 +0000 Received: by mail-ea0-f172.google.com with SMTP id l9so5956872eaj.17 for ; Sun, 16 Feb 2014 02:09:46 -0800 (PST) X-Received: by 10.14.221.4 with SMTP id q4mr19933055eep.47.1392545386892; Sun, 16 Feb 2014 02:09:46 -0800 (PST) Received: from [192.168.2.112] (p579F217F.dip0.t-ipconnect.de. [87.159.33.127]) by mx.google.com with ESMTPSA id o45sm42928675eeb.18.2014.02.16.02.09.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 16 Feb 2014 02:09:46 -0800 (PST) Message-ID: <53008E66.8090703@gmail.com> Date: Sun, 16 Feb 2014 10:31:00 -0000 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Installer cannot write to Cygwin's /usr/local/etc References: <53001E78.8060706@verizon.net> <53006573.9080301@gmail.com> <957006624.20140216112713@yandex.ru> <53007ADE.1050309@gmail.com> <343221677.20140216125720@yandex.ru> In-Reply-To: <343221677.20140216125720@yandex.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00414.txt.bz2 On 16/02/2014 09:57, Andrey Repin wrote: > 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?) http://technet.microsoft.com/en-us/library/cc753525.aspx RX (read and execute access) R (read-only access) > > (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) > regards MArco -- 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