Mail Archives: cygwin/2006/07/21/12:21:56
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/
- Raw text -