Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 1999 15:05:42 -0500 (EST)
From:      Matt Behrens <matt@zigg.com>
To:        freebsd-security@FreeBSD.ORG
Subject:   Re: file name with questions - rm on it seg faults!!!
Message-ID:  <Pine.BSF.4.10.9911071501150.75101-100000@megaweapon.zigg.com>
In-Reply-To: <19991107183534.5193.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Nov 1999, skalir scalar wrote:

: some fool on my system which I have removed but not his home
: directory had this in it:
: 
: (root@hidden)[hidden]% ls -a
: ?YOUR PUBLIC SSH1 KEY (-b 512) GOES HERE!? . ..
: (root@hidden)[hidden]% rm -Rf *YOUR*
: Segmentation fault (core dumped)
: 
: so how the fuck can I remove it?
: 
: thx!

Hardly seems security-related.  Would have been much better asked
in -questions, and sans profanity (it sure doesn't seem like a
situation where profanity is called for.)

First of all, since

	touch '?YOUR PUBLIC SSH1 KEY (-b 512) GOES HERE!?'

creates this file, it's logical to presume that

	rm '?YOUR PUBLIC SSH1 KEY (-b 512) GOES HERE!?'

would also remove it (which it did).  But I had no problems with
rm *YOUR* either.  I didn't try -Rf because that was silly; there
were no permissions problems requiring the force flag, and being
a file recursively deleting it seemed rather silly as well.

I would wager that your segfault came as a result of an rm binary
built at some point on a machine with faulty memory.  Mine came
from 3.3-STABLE as of a week or two ago and had no such problem.

Matt Behrens <matt@zigg.com>
Owner/Administrator, zigg.com
Chief Engineer, Nameless IRC Network



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911071501150.75101-100000>