delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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 | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=bS009P/NJfrwWoEg/m50gCGXl9PGrUG0waOkz0/NXQj | |
OQLAcLImjiCntvy+hSdr3nXyQ/uWN1jSfk8vVheVVRC0qql4zrtt4Pjuoazu2qhL | |
hbbk2GR6yRkeTagY9ndDuoCd7hXVjuF6E9rNAWRN7PC40kS+CP5AD6dVFCYyB5/c | |
= | |
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 | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=hCEVPNU5zRM/eyMBWmqgMn2stlI=; b=OdlEticpCWAe+THNv | |
dmabJ5oEoQyaQdKWh8MJLBSehWO/s54uthaYvoRgHJAAEDApKOlOPqvu4jmXIV/s | |
EMHizTTtljlH4MiJzRHeupLXvBYZ27YFtiR0AemIZqrLUb/joXYMLv8Lfsf4Ug0x | |
VgoiV7js2ORCQ6VIM1WfU/hiBA= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 |
X-Received: | by 10.14.221.4 with SMTP id q4mr19933055eep.47.1392545386892; Sun, 16 Feb 2014 02:09:46 -0800 (PST) |
Message-ID: | <53008E66.8090703@gmail.com> |
Date: | Sun, 16 Feb 2014 11:09:42 +0100 |
From: | Marco Atzeri <marco DOT atzeri AT gmail DOT com> |
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 AT cygwin DOT com |
Subject: | Re: Installer cannot write to Cygwin's /usr/local/etc |
References: | <53001E78 DOT 8060706 AT verizon DOT net> <53006573 DOT 9080301 AT gmail DOT com> <957006624 DOT 20140216112713 AT yandex DOT ru> <53007ADE DOT 1050309 AT gmail DOT com> <343221677 DOT 20140216125720 AT yandex DOT ru> |
In-Reply-To: | <343221677.20140216125720@yandex.ru> |
X-IsSubscribed: | yes |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |