Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: tarfile : secure extract? Date: Fri, 12 Feb 2016 11:01:13 -0500 Lines: 5 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de mHfHEJ4yNrI3SAgxUrOxnwbbI0lKdB/vycxpg1YeNS6w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'rename': 0.07; 'received:internal': 0.09; 'thu,': 0.15; 'message- id:@webmail.messagingengine.com': 0.16; 'possible?': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'feb': 0.23; 'header:In-Reply-To:1': 0.24; 'subject: : ': 0.30; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'files': 0.38; 'to:addr:python.org': 0.40; 'header:Message- Id:1': 0.61 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=2w9u42FgPowpUH5lqFneVhccmX8=; b=iHdxFu ib+ozAq8XTLgc3xqhQugJkBNwbxreyo/a99Tu+CtudIzEGB+boTLK4dmOTa8RaFC DJtwGmmhSm1bHU74t3k27WadV8oskhJ3hB6axdYHYSlFKHlgsTnPqeMjD1t8Axqx r/3IKpmOhPpqf4oShqjQmW043P1bqwWzeflJE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=2w9u42FgPowpUH5 lqFneVhccmX8=; b=I0eA8MBC2Pzj87NS02kjZGszXxmpXNKXxq1vJKeAb5X4zpx Xdr6m6LrePc+uCXrES54q3uNLFuboB7DuE69r55hLFTAAWQHq/tPZZ+jw9VtQ5Kr lYZwW9RVlMp+ocKYRJ7RCysl5OSPcY5XLFDkBZZ/fQ8jRZQ9nr84ltURecKQ= X-Sasl-Enc: yhugv/QTzxHd/MoYLRmZOcsu4gaYxABuYb41KrHS58ZY 1455292873 X-Mailer: MessagingEngine.com Webmail Interface - ajax-e69f0414 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102865 On Thu, Feb 11, 2016, at 18:24, Ulli Horlacher wrote: > A better approach would be to rename such files while extracting. > Is this possible? What happens if you change member.name before extracting?