This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Zip file extraction permissions help


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.atzeri@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]