#550236 secure-delete: srm -r fails with 'Too many open files'

Package:
secure-delete
Source:
secure-delete
Description:
tools to wipe files, free disk space, swap and memory
Submitter:
Timothee Besset
Date:
2024-01-18 12:42:05 UTC
Severity:
normal
Tags:
#550236#5
Date:
2009-10-08 15:05:29 UTC
From:
To:
When using srm -r on a large tree, the recursive iteration through the tree
and the deletion process eventually stops working with a 'Too many open files'
error over all the remaining files.

#550236#10
Date:
2010-06-08 10:06:43 UTC
From:
To:
There is a patch for this in the Ubuntu bug tracker:
http://launchpadlibrarian.net/33806214/srm.c.diff

#550236#23
Date:
2014-06-25 09:40:37 UTC
From:
To:
The patch does not appear to solve this issue, which is still present in version
3.1-5.

#550236#28
Date:
2024-01-18 12:02:55 UTC
From:
To:
Hello,

I am the new maintainer for secure-delete, and this bug report is 8
years old.

Please, can you tell me what is the output of srm with the -v switch
enabled (so in verbose mode), when it fails with 'Too many open files'?

And by the way, can you send me a tarball with some minimal example able
to trigger this bug?

Thank you in advance,			Georges.