Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 1999 21:36:44 -0600 (MDT)
From:      Paul Hart <hart@iserver.com>
To:        Markus Holmberg <saska@acc.umu.se>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: how to remove directories made by the core-following-symlink test code?
Message-ID:  <Pine.BSF.3.96.990831211232.21042A-100000@anchovy.orem.iserver.com>
In-Reply-To: <19990901032316.A8300@montezuma.acc.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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