From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84015 invoked by alias); 1 Jul 2019 10:43: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 84005 invoked by uid 89); 1 Jul 2019 10:43:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,GIT_PATCH_2,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=samsung, Samsung, H*UA:15.0, H*x:15.0 X-HELO: mailout1.w1.samsung.com Received: from mailout1.w1.samsung.com (HELO mailout1.w1.samsung.com) (210.118.77.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Jul 2019 10:43:01 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190701104258euoutp0125906f80a4080ee4891bd0365695520d~tQoOB8k9F1058710587euoutp01e for ; Mon, 1 Jul 2019 10:42:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190701104258euoutp0125906f80a4080ee4891bd0365695520d~tQoOB8k9F1058710587euoutp01e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1561977778; bh=hj4alwAGhEumYSy47+Er8dFwMjxOnN4KNOWoT7CwQD4=; h=From:To:In-Reply-To:Subject:Date:References:From; b=f12HyAkB4uCEOPxCUzEWl/7PP9L9Xl68B3XPxnmyWWxgjQK1S7CsNXYIhQKxzPUWb QpfGbzS7hwiXonSFN1pnm5N5q3OZ7kNSBoyT+CNOphhl1kW+EnYHguAzPMXtWgMHeC lvZEaqWuSI0ewG74c+X1Ra1WWTXQyVEaMQjc7hYA= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190701104258eucas1p2739fec335645d0449653782f70adc1b2~tQoNuM8o33213332133eucas1p2U; Mon, 1 Jul 2019 10:42:58 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 10.49.04377.1B3E91D5; Mon, 1 Jul 2019 11:42:57 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190701104257eucas1p1faadca6208e7624fe87ed6d098376e24~tQoM5LJcM3211432114eucas1p1i; Mon, 1 Jul 2019 10:42:57 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190701104256eusmtrp2bf747c1ac97d24dac89d4602aa05ccb0~tQoMrOvQ71388313883eusmtrp26; Mon, 1 Jul 2019 10:42:56 +0000 (GMT) Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id BF.26.04140.0B3E91D5; Mon, 1 Jul 2019 11:42:56 +0100 (BST) Received: from PFEDIN01 (unknown [106.109.131.169]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190701104256eusmtip2058cf5c88ce7f4aff36d459be65e6af1~tQoMa94xG3117231172eusmtip2v; Mon, 1 Jul 2019 10:42:56 +0000 (GMT) From: "Pavel Fedin" To: "'Federico Kircheis'" , In-Reply-To: Subject: RE: cygport and C:\Windows\system32\tar.exe Date: Mon, 01 Jul 2019 10:43:00 -0000 Message-ID: <005501d52ff9$be8ef620$3bace260$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-CMS-MailID: 20190701104257eucas1p1faadca6208e7624fe87ed6d098376e24 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190630053803epcas5p1a61a06ab1cf93b94e3342bf69761f15e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190630053803epcas5p1a61a06ab1cf93b94e3342bf69761f15e References: X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00002.txt.bz2 This is solved by proper order of directories in your $PATH. Cygwin's /bin, /usr/bin, /usr/local/bin always come in front. You seem to have no Cygwin tar installed, hence the search continues down to native Windows one. Kind regards, Pavel Fedin Senior Engineer Samsung Electronics Research center Russia > -----Original Message----- > From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Federico > Kircheis > Sent: Sunday, June 30, 2019 8:38 AM > To: cygwin@cygwin.com > Subject: cygport and C:\Windows\system32\tar.exe > > Hello, > > I'm working on Windows 10 freshly installed, installed cygwin too, and > noticed that tar did not work on absolute files. > > Apparently there is a tar.exe from Microsoft in system32. > https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/ > > My problem is that cyport tries to invoke tar with an absolute file, and > of course C:\Windows\system32\tar.exe does not understand a path that > begins with `/cygdrive/c`. > > How do you generally solve that problem? > > > Thanks in advance -- 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