Gnus development mailing list
 help / color / mirror / Atom feed
From: Steven L Baur <steve@miranova.com>
Subject: Re: Deleting concatenation directories
Date: 24 Feb 1996 11:49:38 -0800	[thread overview]
Message-ID: <m2pwb4y04s.fsf@deanna.miranova.com> (raw)
In-Reply-To: Stainless Steel Rat's message of 24 Feb 1996 05:33:05 -0800

>>>>> "Rat" == Stainless Steel Rat <ratinox@ccs.neu.edu> writes:

>>>>> "SLB" == Steven L Baur <steve@miranova.com> 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.


  reply	other threads:[~1996-02-24 19:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-23  2:35 September Gnus 0.41 is released Lars Magne Ingebrigtsen
1996-02-23  4:22 ` Steven L Baur
1996-02-23  8:17 ` Helmut Muelner
1996-02-23 17:22   ` Steven L Baur
1996-02-24 13:33     ` Deleting concatenation directories Stainless Steel Rat
1996-02-24 19:49       ` Steven L Baur [this message]
1996-02-25 19:04         ` Stainless Steel Rat
1996-02-26 12:49         ` Lars Magne Ingebrigtsen
1996-02-26 12:49       ` Lars Magne Ingebrigtsen
1996-02-24  7:44   ` September Gnus 0.41 is released Lars Magne Ingebrigtsen
1996-02-23 10:15 ` SCORING bug again (was: September Gnus 0.41 is released) boubaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2pwb4y04s.fsf@deanna.miranova.com \
    --to=steve@miranova.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).