From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.devel Subject: Re: [found the culprit] Date: Wed, 14 Nov 2018 18:34:42 -0800 Message-ID: <27024.1542249282@alto> References: <40f8adf8-52a7-957b-db95-06df4d131b21@lanl.gov> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: blaine.gmane.org 1542249216 23182 195.159.176.226 (15 Nov 2018 02:33:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Nov 2018 02:33:36 +0000 (UTC) Cc: Uwe Brauer , Eli Zaretskii , Drew Adams , emacs-devel@gnu.org To: Davis Herring Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 15 03:33:32 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gN7TG-0005v8-OS for ged-emacs-devel@m.gmane.org; Thu, 15 Nov 2018 03:33:30 +0100 Original-Received: from localhost ([::1]:35699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN7VN-0006va-69 for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2018 21:35:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN7Uf-0006vV-87 for emacs-devel@gnu.org; Wed, 14 Nov 2018 21:34:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gN7Ub-0005pE-9X for emacs-devel@gnu.org; Wed, 14 Nov 2018 21:34:57 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:34390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN7Ua-0005oR-ES; Wed, 14 Nov 2018 21:34:53 -0500 Original-Received: from alto (96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id wAF2Yg66084313 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Nov 2018 18:34:47 -0800 (PST) (envelope-from mkupfer@alum.berkeley.edu) X-Authentication-Warning: shell1.rawbw.com: Host 96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133] claimed to be alto In-Reply-To: Your message of "Wed, 14 Nov 2018 13:33:03 -0700." <40f8adf8-52a7-957b-db95-06df4d131b21@lanl.gov> X-Mailer: MH-E 8.6+git; nmh 1.6; GNU Emacs 26.1 Content-ID: <27023.1542249282.1@alto> X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 198.144.192.42 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231161 Archived-At: Davis Herring wrote: > > `Z' should be its own inverse. > > This is a reasonable principle, but there is a reason to deviate from > it here. The uncompressed tar format is so rarely used (partly > because of the lack of actual tape drives, and partly because of > change in the relative cost of CPU cycles and storage space) that > having a convenient key to get _to_ it is unimportant. Perhaps to you, or perhaps even to most Emacs users. Me, I'd like to get the .tar file back. It doesn't need to be the default behavior--I'd be happy if there were a user option that would let me control whether the file is unpacked or not. There are a couple problems with the current behavior that are mentioned in #25611, but which I haven't seen covered in the current discussion. 1. The prompt doesn't say anything about unpacking. 2. It's possible to silently overwrite user files, both because of (1) and because the code makes assumptions about the contents of the tar file. 3. There is a potential exploit due to (2). I don't list these as arguments against the current behavior, just as things that should be fixed. mike