On Wed Jul 29 22:07:14 2015, JKEENAN wrote:
Show quoted text> On Sat Jul 25 06:43:11 2015, RICHE wrote:
> > From TODO:
> >
> > Investigate rm -p functionality (a linux thing).
> >
> > =======================
> >
> > RICHE Note: most likely the original submitter meant "rm -P". Or
> > possibly "mkdir -p". AFAIK, there is no such thing as "rm -p".
>
>
> On Ubuntu 14.04: from 'man rm'
>
> #####
> -r, -R, --recursive
> remove directories and their contents recursively
> #####
>
> Don't rmtree and remove_tree do that already?
Hi Jim,
I think this is more of a security feature if the person putting this in the original TODO meant -P. This triple rewrite before delete would make it so the original files that are being removed would be, in theory, completely unrecoverable from disk.
Please see:
https://www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.html
It might be worth socializing as a feature. Otherwise, the inevitable could occur, something like File::Path::Secure.