I understand where comes the Administrators user in the /etc/passwd
after reading http://cygwin.com/cygwin-ug-net/ntsec.html

But still, I would like to get the same permissions when extracting a
file outside and inside cygwin by the same user, Administrator

On Tue, May 8, 2012 at 4:31 PM, Assaf Leibovitch <assafl1...@gmail.com> wrote:
> Hi Marco,
>
> How do I change the default behavior to match the Windows file creation 
> policy?
>
> Why the files are owned by 'Administrators' when opened on Windows and
> by 'Administrator' when opened within Cygwin?
>
>
> Thanks
>
>
>
> On Tue, May 8, 2012 at 4:24 PM, marco atzeri <marco.atz...@gmail.com> wrote:
>> On 5/8/2012 3:11 PM, Assaf Leibovitch wrote:
>>>
>>> Hello all,
>>>
>>> I have a zip file, when extracted from Windows, I see files with
>>> execute permissions:
>>>
>>> For example:
>>> -rwx------+ 1 Administrators None   2782 Apr  8 10:03 pyrunner.py
>>>
>>> When using Cygwin unzip, I get the following:
>>> -rw-rw-rw- 1 Administrator None   2782 Apr  8 10:03 pyrunner.py
>>>
>>> The owner is different (Administrators vs Administrator)
>>>
>>>
>>> What should I configure to handle this so the files will get the same
>>> permissions as I get when extracting from windows
>>>
>>>
>>> Thanks
>>
>>
>> the zip compression format has no data about the the file permissions,
>> so the result is just the default of windows and cygwin for file
>>  creation
>>
>> 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
>>

--
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

Reply via email to