delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/08/09:24:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_RW
X-Spam-Check-By: sourceware.org
Message-ID: <4FA91E73.1000408@gmail.com>
Date: Tue, 08 May 2012 15:24:03 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Zip file extraction permissions help
References: <CAASm4ee7qAYUg-Coo46HmPQM2PbqjDj5oKyJC-CROj9Ew1wwCw AT mail DOT gmail DOT com>
In-Reply-To: <CAASm4ee7qAYUg-Coo46HmPQM2PbqjDj5oKyJC-CROj9Ew1wwCw@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019