From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5278 Path: main.gmane.org!not-for-mail From: Steven L Baur Newsgroups: gmane.emacs.gnus.general Subject: Re: Deleting concatenation directories Date: 24 Feb 1996 11:49:38 -0800 Organization: Miranova Systems, Inc. Sender: steve@miranova.com Message-ID: References: <199602230817.AA24187@fiicmal02.tu-graz.ac.at> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.43) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035145905 32334 80.91.224.250 (20 Oct 2002 20:31:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:31:45 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.3/8.6.9) with SMTP id MAA17309 for ; Sat, 24 Feb 1996 12:19:55 -0800 Original-Received: from deanna.miranova.com (steve@miranova.com [204.212.162.100]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 24 Feb 1996 20:50:04 +0100 Original-Received: (from steve@localhost) by deanna.miranova.com (8.7.3/8.6.9) id LAA16939; Sat, 24 Feb 1996 11:49:40 -0800 Original-To: ding@ifi.uio.no X-Url: http://www.miranova.com/%7Esteve/ In-Reply-To: Stainless Steel Rat's message of 24 Feb 1996 05:33:05 -0800 Original-Lines: 34 X-Mailer: September Gnus v0.41/XEmacs 19.13 Xref: main.gmane.org gmane.emacs.gnus.general:5278 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5278 >>>>> "Rat" == Stainless Steel Rat writes: >>>>> "SLB" == Steven L Baur writes: SLB> If you use X u for decoding, a new, temporary directory is created SLB> in /tmp. Everything in that directory gets deleted automatically SLB> when the group is exited. Rat> I have found two cases where the directory and possibly its contents are Rat> not deleted. First, the rare case when an NFS link file is extant Rat> within the directory the rmdir fails. Second, when you 'X u' on a Rat> recursive zipfile subdirectories are created within the catenation Rat> directory and these are not deleted by the 'rm *' command. This bug is Emacs independent, and is definitely present in September Gnus. Can zipfiles have absolute path names in them? This could present the same kind of problem that malicious uuencoded file have. I don't have any reasonable documentation on zip, nor source code at present to check this. If there is an option similar to the ``strip leading /'' option in tar, it should be used. As to ``rm *'', this didn't use to be the behavior, although I haven't checked this in at least 20 versions. I've noticed lately that the display commands for pseudos is being quoted. This is good. I see some naked-looking calls to sh -c in gnus-uu. Are precautions being taken against filenames like ``fred; rm -rf $HOME''? -- steve@miranova.com baur Unsolicited commercial e-mail will be proofread for $250/hour. Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone except you in November.