From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22602 invoked by alias); 8 May 2012 13:31:25 -0000 Received: (qmail 22592 invoked by uid 22791); 8 May 2012 13:31:24 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_RW X-Spam-Check-By: sourceware.org Received: from mail-gg0-f171.google.com (HELO mail-gg0-f171.google.com) (209.85.161.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 May 2012 13:31:09 +0000 Received: by ggki1 with SMTP id i1so1344216ggk.2 for ; Tue, 08 May 2012 06:31:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.24.201 with SMTP id w9mr17975081oef.49.1336483868397; Tue, 08 May 2012 06:31:08 -0700 (PDT) Received: by 10.182.62.162 with HTTP; Tue, 8 May 2012 06:31:08 -0700 (PDT) In-Reply-To: <4FA91E73.1000408@gmail.com> References: <4FA91E73.1000408@gmail.com> Date: Tue, 08 May 2012 13:31:00 -0000 Message-ID: Subject: Re: Zip file extraction permissions help From: Assaf Leibovitch To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-05/txt/msg00161.txt.bz2 Hi Marco, How do I change the default behavior to match the Windows file creation pol= icy? 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 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 =A0 2782 Apr =A08 10:03 pyrunner.py >> >> When using Cygwin unzip, I get the following: >> -rw-rw-rw- 1 Administrator None =A0 2782 Apr =A08 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 > =A0creation > > Regards > Marco > > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://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