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:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=a4h JCBK5N5MJYdgI6GPTmX0FY/fRYSVcGKNkk0MWrjN1XgPs2qJQu7gGLNTrtI1tBoK cqA3d5GnpuGr7gzIFYCbboHbyE8mdcnrYO+d9fdLOqHcBjSSHUw6/IwRwToyHTti RutMUewCwEnvuAR3UErF6E3CrBfLZHA3D1Xztytk= 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:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=kQ1GtwIzP gSxU2sX49+4sKAUZCc=; b=r/h+loVd3zXr9KZ7za3OYSWzKIasyWuo03tUFo05H WtJBNtvL9Rhe5CqSW0v7HVIxrYqhs+F7eKblZ+aS4U5bIFEd4TXC9o5atLs6LocJ iCUHvlcJBPG1HmVMrZU9iIKZMJWR06NsDnr/jJ+55lFG1jfo3UwQl+3HBkEHPVjA nw= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=1.29-1, 1291, HX-OriginatorOrg:outlook.com, downgrade X-HELO: COL004-OMC2S15.hotmail.com From: Tony Kelman To: "cygwin AT cygwin DOT com" Subject: tar 1.29 regression, duplicating files with -T and --no-recursion Date: Tue, 7 Mar 2017 23:46:03 +0000 Message-ID: authentication-results: cygwin.com; dkim=none (message not signed) header.d=none;cygwin.com; dmarc=none action=none header.from=kelman.net; x-incomingtopheadermarker: OriginalChecksum:3AFAC1305AABE18A792D5DAF8FAD3C795601EE7F18ED76231ADF3FB1F48A4DBA;UpperCasedChecksum:5CDAEA8C77B6FE25C035D2D00D8B476BC60FC975390DD8383E34679050D625AA;SizeAsReceived:7650;Count:37 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [F3V6YDjgXrEkuFqwLCQkvrhhsLDzLltq] x-incomingheadercount: 37 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1;DM3NAM03HT174;5:FEreIkU28/dp/m+KlZ9EYHZrBzXw9bqACrbrrrHJMdZD1fHz4/Ien60F+MwjgpIEYCfendWc2a8CN994hTbphdxoSv6PJEngAulLGobEK/ps2DFrYLUmsasdglInyZDWvrvHVgXWS9N0hu7FRjCRZQ==;24:fsD3j6HhQcpfHS6dCprxqRAQA1HP2kgL3UkJtJRePpC07D7Kf74OAhk7d2bFXhGsq9b6CsRu/T1Hug0FoOefxHYo8r++/sCevIOtBv2Hit8=;7:3OV0Wuh685qwIErwLYSIGVmYGm+skvW+DnVhGvxasutTPZ9aO+WeMczCWmQW3pgUCNZMC5BgTN3oiafkJfjQe699eIyqfVfsRFsXXWiMPAUZaVQoyH0hwdkMxw4KPChLpizWsYPZe9aoGS+dBZ9e+HGOEWwRGAvcVWHIAVhlWt+qnNF1qjinr908V+kApngdmaxKOKbRSuSagSxZr21ETLfuWuJRjNkHfVLyBpmSkMHsGGOw0O69YK7K/YhKEwnEbrHe7IKRDYUjfIUlSvcPytu8nxU4oQ45UR9nd+DkQbBfn5ECdXfWCHcC1WUKiKd5 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(10019020)(98900016);DIR:OUT;SFP:1102;SCL:1;SRVR:DM3NAM03HT174;H:DM2PR0201MB0799.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 11532b3d-e68c-4806-f3fd-08d465b41dcd x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(1601125254)(1603101448)(1701031045);SRVR:DM3NAM03HT174; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015151)(444000031);SRVR:DM3NAM03HT174;BCL:0;PCL:0;RULEID:;SRVR:DM3NAM03HT174; x-forefront-prvs: 0239D46DB6 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2017 23:46:03.3387 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT174 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v27NkNFe009347 Test case: Tony AT LAPTOP-O230JCFF ~ $ tar --version tar (GNU tar) 1.29 Packaged by Cygwin (1.29-1) Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. Tony AT LAPTOP-O230JCFF ~ $ mkdir tartest Tony AT LAPTOP-O230JCFF ~ $ echo 'tartest' > tartest/filelist.txt Tony AT LAPTOP-O230JCFF ~ $ echo 'tartest/filelist.txt' >> tartest/filelist.txt Tony AT LAPTOP-O230JCFF ~ $ tar -czf test.tar.gz -T tartest/filelist.txt --no-recursion Tony AT LAPTOP-O230JCFF ~ $ tar -tf test.tar.gz tartest/ tartest/filelist.txt tartest/filelist.txt Tony AT LAPTOP-O230JCFF ~ $ ls -al test.tar.gz -rw-r--r-- 1 Tony None 186 Mar 7 15:39 test.tar.gz If I downgrade to tar 1.28, I instead get Tony AT LAPTOP-O230JCFF ~ $ tar -tf test.tar.gz tartest/ tartest/filelist.txt Tony AT LAPTOP-O230JCFF ~ $ ls -al test.tar.gz -rw-r--r-- 1 Tony None 177 Mar 7 15:38 test.tar.gz ... though I just checked in a docker container of Debian unstable which has tar 1.29 and I see the same issue, so this isn't cygwin-specific and maybe I should report it upstream. -Tony -- 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