Mr. Shawn H. Corey wrote:
On Tue, 2006-25-04 at 16:41 -0500, JupiterHost.Net wrote:
althought technically any rm -rf (ven the shell itself) has a race
condition since it could clean out directory, move on and then, someone
adds a file between cleaning out the directory and its removal.
S
On 4/25/06, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
> On Tue, 2006-25-04 at 16:41 -0500, JupiterHost.Net wrote:
> > althought technically any rm -rf (ven the shell itself) has a race
> > condition since it could clean out directory, move on and then, someone
> > adds a file between cleaning o
On Tue, 2006-25-04 at 16:41 -0500, JupiterHost.Net wrote:
> althought technically any rm -rf (ven the shell itself) has a race
> condition since it could clean out directory, move on and then, someone
> adds a file between cleaning out the directory and its removal.
Sorry, there is no such race
Brian McKee wrote:
On 25/04/06, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:
Is there a definative way to recreate the gnu `rm -rf` in perl?
You could use rmtree.
perldoc File::Path
Looks good, but then I saw this:
NOTE: There are race conditions internal to the implementation of
On 25/04/06, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:
>>
>> Is there a definative way to recreate the gnu `rm -rf` in perl?
>
> You could use rmtree.
>
> perldoc File::Path
Looks good, but then I saw this:
NOTE: There are race conditions internal to the implementation of
"rmtree" making
Is there a definative way to recreate the gnu `rm -rf` in perl?
I've seen a couple of modules that seem to implement something, and a
bunch of variations using File::Find, but it just seems overly
complicated.Since it's important I understand exactly what it's
going to do (it's removing data