From owner-freebsd-security Tue Aug 31 20:38:43 1999 Delivered-To: freebsd-security@freebsd.org Received: from gatekeeper.veriohosting.com (gatekeeper.veriohosting.com [192.41.0.2]) by hub.freebsd.org (Postfix) with ESMTP id 7CCAC15256 for ; Tue, 31 Aug 1999 20:38:38 -0700 (PDT) (envelope-from hart@iserver.com) Received: by gatekeeper.veriohosting.com; Tue, 31 Aug 1999 21:38:09 -0600 (MDT) Received: from unknown(192.168.1.109) by gatekeeper.veriohosting.com via smap (V3.1.1) id xma022076; Tue, 31 Aug 99 21:37:49 -0600 Received: (hart@localhost) by anchovy.orem.iserver.com (8.9.3) id VAA21089; Tue, 31 Aug 1999 21:36:44 -0600 (MDT) Date: Tue, 31 Aug 1999 21:36:44 -0600 (MDT) From: Paul Hart X-Sender: hart@anchovy.orem.iserver.com Reply-To: Paul Hart To: Markus Holmberg Cc: freebsd-security@FreeBSD.ORG Subject: Re: how to remove directories made by the core-following-symlink test code? In-Reply-To: <19990901032316.A8300@montezuma.acc.umu.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 1 Sep 1999, Markus Holmberg wrote: > Am I missing something very trivial here, or how am I supposed to do to > remove the very deep directory structure that was made by the > core-follow-symlink test/exploit/whatever code? Try a version of rm that does not use the fts(3) routines to traverse the directory tree. I found that the GNU rm in the fileutils package worked for me. You can get the package at: ftp://ftp.gnu.org/pub/gnu/fileutils/ You could also write a quick recursive remover with readdir(3) and friends. Paul Hart -- Paul Robert Hart ><8> ><8> ><8> Verio Web Hosting, Inc. hart@iserver.com ><8> ><8> ><8> http://www.iserver.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message