* Zip file extraction permissions help
@ 2012-05-08 13:11 Assaf Leibovitch
2012-05-08 13:24 ` marco atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Assaf Leibovitch @ 2012-05-08 13:11 UTC (permalink / raw)
To: cygwin
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
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Zip file extraction permissions help
2012-05-08 13:11 Zip file extraction permissions help Assaf Leibovitch
@ 2012-05-08 13:24 ` marco atzeri
2012-05-08 13:31 ` Assaf Leibovitch
0 siblings, 1 reply; 5+ messages in thread
From: marco atzeri @ 2012-05-08 13:24 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Zip file extraction permissions help
2012-05-08 13:24 ` marco atzeri
@ 2012-05-08 13:31 ` Assaf Leibovitch
2012-05-08 13:44 ` Assaf
0 siblings, 1 reply; 5+ messages in thread
From: Assaf Leibovitch @ 2012-05-08 13:31 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Zip file extraction permissions help
2012-05-08 13:31 ` Assaf Leibovitch
@ 2012-05-08 13:44 ` Assaf
2012-05-10 11:05 ` Andrey Repin
0 siblings, 1 reply; 5+ messages in thread
From: Assaf @ 2012-05-08 13:44 UTC (permalink / raw)
To: cygwin
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 <assafl1616@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.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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-05-10 11:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08 13:11 Zip file extraction permissions help Assaf Leibovitch
2012-05-08 13:24 ` marco atzeri
2012-05-08 13:31 ` Assaf Leibovitch
2012-05-08 13:44 ` Assaf
2012-05-10 11:05 ` Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).