From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2690 invoked by alias); 12 Sep 2016 19:13:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 2680 invoked by uid 89); 12 Sep 2016 19:13:03 -0000 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 Received: from mail-oi0-f47.google.com (HELO mail-oi0-f47.google.com) (209.85.218.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Sep 2016 19:12:53 +0000 Received: by mail-oi0-f47.google.com with SMTP id d191so113991789oih.2 for ; Mon, 12 Sep 2016 12:12:53 -0700 (PDT) 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) Received: from WSNETOPS3 (rtr-primus.skywavemobile.com. [209.217.114.195]) by smtp.gmail.com with ESMTPSA id c136sm580498ith.5.2016.09.12.12.12.50 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Sep 2016 12:12:50 -0700 (PDT) Message-ID: <493DBECE9DB54588A55BDB6921F73079@skywavemobile.com> From: "Stephen Anderson" To: References: <5D13B45DBC02439BB6983CB46A306103@skywavemobile.com> <0D835E9B9CD07F40A48423F80D3B5A704BB9586B@USA7109MB022.na.xerox.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 20:37:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00184.txt.bz2 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: > 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