Installer cannot write to Cygwin's /usr/local/etc
Andrey Repin
anrdaemon@yandex.ru
Sun Feb 16 07:35:00 GMT 2014
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
More information about the Cygwin
mailing list