delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/16/02:35:35

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=eUzVYCBjQUusZ5FV
vOSw5rw/eEeRngZeygxzQ4B5/HIzyaE92OduVdJzQ6JJwzGH5PUZipH/1C7W+JAO
rQGM9PVW5MNJhWH533DK/C63g1Si07O8Kh/r4oK6DIqLwEqpAn5Fc+hLOkruTnks
5nGOIPWFa+z6FHZG6DGGxL74ZPw=
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=HdEq5DDZNKyYl/AcRYR0B7
iAbGY=; b=sbFMP53z29YDQyAG34JNizgV+1fFqmDZ0l2p5QwzUSuz9JxbfXysEo
zfN3nR4lRMqufITHRo9Yn+OIsYEU1+vylO2VcXE3Q7Ktn4JZsA1F5viqDvYoEKjg
mFEhHMLbvTgJT/bWgy76enjIT9gT06UPdQJmsxL2WNPkTD/kOkqEs=
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 11:27:13 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <957006624.20140216112713@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: <53006573.9080301@gmail.com>
References: <53001E78 DOT 8060706 AT verizon DOT net> <53006573 DOT 9080301 AT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

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 AT yandex DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019