delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/12/15:13:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=tQb/5bP3zEjnwRTh
gmxEf2M80BsEKE264dhX1x+pmpNQiSmnnuCTE+AtfO6KLeKx0+iX0+Hf2aykJPLY
QMV3O8t2yOTqcbv+i4Y527EPvKZGJJMa77D0ir1VJfhz6qRZiUxliaCOkcoSQSAM
y/YBGSo2dR676tyO73NoIe0BQ14=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; s=default; bh=hqveWz6uha/Ha2WgiOVC5Z
coEP0=; b=yV2WQsQC9BvBfEFOLWyfGZGkJDL74nVo7CIlr/mTlIKBAzJq+bH8iN
6NvRALqAE545zrHFkIWv4dc/XC7E9YtnAVTV+nePqgSQv6FRKBoxPE9u1FDJE5C0
uTAUOIK8N0yNOYe2W7yq12S9B/K8AptO+yjSHzgeK+1AXQLkG3vgc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=nellis, Nellis, HX-Envelope-From:sk:stephen, sk:directo
X-HELO: mail-oi0-f47.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:to:references:in-reply-to :subject:date:mime-version:content-transfer-encoding:importance; bh=CcUpKQD/Xw2cbdZGWvfuP28VRrmkqo6Q1ghRGUWUXrc=; b=l/ryazo2x3gGx9BvyLW6GeRXP9LZAoG1qsfBMIr5k68Yv50v99HyzLUZlkJANAiR+h 2WXolCWRFEqbh2kLi/rfjRvRifqhVZMnumFpOVWdG4FyArAUf7bt9yFyw5A+PhD6VIrE cUoPSXbGz5hAYhn2jqtPan1d/SrPu/Z8QSvND3YjHREK7PURdjACe56dzlxLh+d57XV2 2B8GLeA2GKQ1vcBCJp/jWBvJSCj3VDAvC5IwEdvpB26x4NR/fK2UHr+WYFFOknQ9xByK jzF2TGSK9K9fX/5yBOkCVGKLFnZOLykSo/DxRcTn4G0wA6ipfa25rfm1UP84wgvTQMaS SnEg==
X-Gm-Message-State: AE9vXwOEhKGk5Q7kZt5TiuS+JKUqGLC0+tSp2N6Mwm6TbZkhUbxDciWBvYwmDWfEjIT+mA==
X-Received: by 10.202.232.131 with SMTP id f125mr823179oih.46.1473707571313; Mon, 12 Sep 2016 12:12:51 -0700 (PDT)
Message-ID: <493DBECE9DB54588A55BDB6921F73079@skywavemobile.com>
From: "Stephen Anderson" <stephen DOT rhoderson AT gmail DOT com>
To: <cygwin AT cygwin DOT com>
References: <5D13B45DBC02439BB6983CB46A306103 AT skywavemobile DOT com> <0D835E9B9CD07F40A48423F80D3B5A704BB9586B AT USA7109MB022 DOT na DOT xerox DOT net>
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BB9586B@USA7109MB022.na.xerox.net>
Subject: Re: unzip, find broken by auto handling of .exe file extension
Date: Mon, 12 Sep 2016 15:12:50 -0400
MIME-Version: 1.0
X-IsSubscribed: yes

Thanks Ken, good observation.

    -----Original Message----- 
> From: Nellis, Kenneth
> From: Stephen Anderson >
> > See also:
> >
> > http://stackoverflow.com/questions/32467871/unzip-gives-checkdir-error-
> > directory-exists-but-is-not-a-directory#32468314
> >
> > The fact that 7z handles this and unzip does not indicates that the 
> > problem is fixable..

> FWIW, it seems that the same issue is present with tar:
> <Ken demonstrates broken tar handling>

This means that you can't reliably extract from a tar or zip archive in 
cygwin.
The windoze equivalents do not have this problem.
It looks to me like the approach of equating filenames 'foo' and 'foo.exe' 
is dangerous at the stat(2) level - apparently windoze accomplishes the same 
trick in a much less destructive way.

sja 


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019