delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.8 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 |
MIME-Version: | 1.0 |
In-Reply-To: | <CAASm4edQ4-Bz-TFzKZMBub81yQJx=qJ-Efn+ZB_mYT=HFJf0qg@mail.gmail.com> |
References: | <CAASm4ee7qAYUg-Coo46HmPQM2PbqjDj5oKyJC-CROj9Ew1wwCw AT mail DOT gmail DOT com> <4FA91E73 DOT 1000408 AT gmail DOT com> <CAASm4edQ4-Bz-TFzKZMBub81yQJx=qJ-Efn+ZB_mYT=HFJf0qg AT mail DOT gmail DOT com> |
Date: | Tue, 8 May 2012 16:44:01 +0300 |
Message-ID: | <CAASm4ecqn2Cn=PG5B-KJfW3trzVWt4XHEjYJnwD7+BAEq_Mn+w@mail.gmail.com> |
Subject: | Re: Zip file extraction permissions help |
From: | Assaf <assafl1616 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q48DiZC5014384 |
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 AT gmail DOT 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 DOT atzeri AT gmail DOT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |