www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_21,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <806a89db0908140943k3d5a9f41k559c45ec82fb8983@mail.gmail.com> |
References: | <806a89db0908140943k3d5a9f41k559c45ec82fb8983 AT mail DOT gmail DOT com> |
Date: | Fri, 14 Aug 2009 10:59:25 -0600 |
Message-ID: | <806a89db0908140959u479d0789wf6f74f8cb92bfd0d@mail.gmail.com> |
Subject: | Re: UNZIP: Why don't .exe/.dll files get eXecute privs? |
From: | Jim Reisert AD1C <jjreisert AT alum DOT mit DOT edu> |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
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 |
Here's an example: CYGWIN: c:\test>\cygwin\bin\unzip \dx4w801\dx4win_regexp.zip Archive: \dx4w801\dx4win_regexp.zip inflating: pcre3.dll inflating: regexp/freq1.txt inflating: regexp/qth1.txt inflating: Dx4win.exe c:\test>ls -l total 3296 -rw-r--r-- 1 reisert Domain Users 3229184 Aug 14 00:20 Dx4win.exe -rw-r--r-- 1 reisert Domain Users 140288 Mar 17 2007 pcre3.dll drwxr-xr-x 1 reisert Domain Users 0 Aug 14 10:57 regexp GNUWIN32: c:\test>unzip \dx4w801\dx4win_regexp.zip Archive: /dx4w801/dx4win_regexp.zip inflating: pcre3.dll inflating: regexp/freq1.txt inflating: regexp/qth1.txt inflating: Dx4win.exe c:\test>ls -l total 3296 -rwx------+ 1 reisert Domain Users 3229184 Aug 14 00:20 Dx4win.exe -rwx------+ 1 reisert Domain Users 140288 Mar 17 2007 pcre3.dll drwx------+ 1 reisert Domain Users 0 Aug 14 10:58 regexp On Fri, Aug 14, 2009 at 10:43 AM, Jim Reisert AD1C<jjreisert AT alum DOT mit DOT edu> wrote: > Something has been bugging me about Cygwin UNZIP for years. =A0When I > unzip a file, the extracted .exe and .dll files no longer have execute > privs. I have to manually chmod +x them. =A0This always occurs when I'm > in a DOS prompt and using the Cygwin unzip. > > The same unzip from http://gnuwin32.sourceforge.net doesn't have this pro= blem. > > Why is Cygwin different? > > Thanks - Jim > > -- > Jim Reisert AD1C, <jjreisert AT alum DOT mit DOT edu>, http://www.ad1c.us > --=20 Jim Reisert AD1C, <jjreisert AT alum DOT mit DOT edu>, http://www.ad1c.us -- 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 |