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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=pma30LLknVuDrRJu j/Xk+ElKc0o+sDcWyURTVvDxomXeCyfCAuueq+dTpk/zxIHWjv5srH/HdwKAf+U5 gf9yYWXkICwS8BjJTjTpymi/tfAy1zC8R+Pdc1OWt+niEwSuwk3SiGDzjdMQZ1Rm 6xJK+zqE//3eZMKDAqDr6rfEGYE= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=357bVibi/pZUsGbpmxBOtW NQdAc=; b=YnYUuzFqXhn02aECh1gsCHHwZE4mR+bn4TaSCXAdOVwb5kLfdbKb9o plnYlooL+fY7MNEhI5ytaXJzhofp62oO0FlqeF3oEZUTLBG1YtBuiBHs0kSicJLY fA7nTtyOhPja3FXyPUCfeOciPDiBmUyZmNKtxFO6jcZlDHpc6ureo= 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=-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 Date: Sun, 16 Feb 2014 12:57:20 +0400 From: Andrey Repin <anrdaemon AT yandex DOT ru> Reply-To: cygwin AT cygwin DOT com Message-ID: <343221677.20140216125720@yandex.ru> To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>, cygwin AT cygwin DOT com Subject: Re: Installer cannot write to Cygwin's /usr/local/etc In-Reply-To: <53007ADE.1050309@gmail.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 AT yandex DOT 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