X-Spam-Check-By: sourceware.org Date: Fri, 21 Jul 2006 12:21:45 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Frank Fesevur cc: cygwin AT cygwin DOT com Subject: Re: permissions on .exe files In-Reply-To: <44C097C6.8080407@users.sourceforge.net> Message-ID: References: <50be591b0607202319w2e9845bdp560051aa70f604a8 AT mail DOT gmail DOT com> <44C097C6 DOT 8080407 AT users DOT sourceforge DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Fri, 21 Jul 2006, Frank Fesevur wrote: > Hemal Pandya wrote: > > One implication of this is that when I extract a .zip using cygwin > > unzip then the .exe, .dll, .bat etc do not get the executable > > permission. > > I'm experiencing similar problems when I download an .exe with wget. > Since my question on this issues didn't get a real satisfying answer, I > still download to a FAT32 drive. So I hope this problem can be solved. Ever try saving a Linux executable via Mozilla on Linux? It would not have the execute bit set -- you'd need to explicitly chmod it. The point is that wget retrieves a stream of bytes, and possibly saves it to a file. It does not try to interpret that stream of bytes. As I replied to Hemal, you can force Cygwin to use the Windows ACL inheritance rules for newly created files by setting CYGWIN to nontsec temporarily, i.e., CYGWIN=nontsec wget someurl HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/