This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Installer cannot write to Cygwin's /usr/local/etc
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Marco Atzeri <marco dot atzeri at gmail dot com>, cygwin at cygwin dot com
- Date: Sun, 16 Feb 2014 11:27:13 +0400
- Subject: Re: Installer cannot write to Cygwin's /usr/local/etc
- Authentication-results: sourceware.org; auth=none
- References: <53001E78 dot 8060706 at verizon dot net> <53006573 dot 9080301 at gmail dot com>
- Reply-to: cygwin at cygwin dot com
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@yandex.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