delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 21 Jul 2006 11:06:36 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: permissions on .exe files |
Message-ID: | <20060721090636.GR8056@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <50be591b0607202319w2e9845bdp560051aa70f604a8 AT mail DOT gmail DOT com> <44C097C6 DOT 8080407 AT users DOT sourceforge DOT net> |
Mime-Version: | 1.0 |
In-Reply-To: | <44C097C6.8080407@users.sourceforge.net> |
User-Agent: | Mutt/1.4.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
On Jul 21 11:00, Frank Fesevur wrote: > Hemal Pandya wrote: > >If I create a file somefile.exe "outside cygwin" then cygwin reports > >that it is executable. But if the file is created by cygwin then it > >does not become executable unless explicitly set. > > > >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. > > > >Is there a way to tell cygwin to assign u+x for the files created from > >cygwin for which it would have otherwise assumed this 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. I don't understand the problem. You have the same behaviour when downloading (or unziping) an executable file on Linux. It's not executable by default, unless you set an option which also transfers the mode bits (scp -p, for instance). chmod is the way to go. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |