bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segfault in "rm -rf" with really deep dir-tree


From: Sten Eriksson
Subject: Re: Segfault in "rm -rf" with really deep dir-tree
Date: Tue, 29 Jan 2002 18:49:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226

Jim Meyering wrote:

The general fix will be to make GNU rm (and others, like mv, cp, find,
tar, etc.) detect that they've blown their stack and to give a proper
diagnostic.

Eventually I'll probably write something that can remove much
deeper trees, though still within the limit that a set of
`active' directory dev/inode pairs fits in virtual memory.
The set is necessary to do it safely -- otherwise, the program
could potentially be subverted to remove files that were not
intended to be removed.


Thanks! OK, I won't be holding my breath while waiting... :-)
--
   ----
 / Sten Eriksson                | Mail: address@hidden
/  Uppsala Universitet, IT-Stöd | Tel. work:  +46 18 471 79 26  /
   Nätgruppen                   | Tel. mob:   +46 70 425 06 76 /
                                                          ----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]