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:from:to:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-type:references; q=dns; s=default; b=vP2amJeqvE1jJhvV76sfuwO0HPQnLIFB7mFlu8mvuuO PY75STeifMXGHnv8FTG+MKT7pVHJbpadyZH7gXmU1Tl7G0LQcHBCnACRfcZX9kdi XlSfWnRBZWv8lEhZvM5/XT1dJlyfxTotppFcp220Gsfxn7Iv2yX65uP4fZIRpf7Y = 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:from:to:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-type:references; s=default; bh=zG6XfIGXcjLHM7OkqumVBnc6rBI=; b=I+C1sM5LdcfVxwfgK zGlkxDUAs5ptnv74aR/YGkSODlVOFfnU/C5sJeYkBMx1ZH/fvi4Z/KzNf1K+lrbA 95O3YUeqT1xMOvUUaKrTRCDkDG4Mh7Ttu3eenY/ayqW6Hx6ivBYd7bWP8evWAABJ OAtIHnQb5Y7ETwIBtQunmf2eHE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-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 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= From: "Pavel Fedin"

To: "'Federico Kircheis'" , In-Reply-To: Subject: RE: cygport and C:\Windows\system32\tar.exe Date: Mon, 1 Jul 2019 13:42:55 +0300 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 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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Federico > Kircheis > Sent: Sunday, June 30, 2019 8:38 AM > To: cygwin AT cygwin DOT 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