Re: Just got an interesting project...

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Ted Gould
Fecha:  
A: Main PLUG discussion list
Asunto: Re: Just got an interesting project...
On Thu, 5 Oct 2006, George Toft wrote:
> 1. Deleted files (say, qmail messages after pickup) are shredded upon
> deletion. Immediately upon delete. Since an application is performing
> the delete, I must assume "rm" is not being issued, so I can't
> substitute "shred" in its place.


Of course, I always recommend upgrading the applications with the feature
and contributing the patch... but, assuming that is somehow impossible.

You might be able to do something similar to libtrash[1]. Libtrash gets
preloaded for the application, and overwrites the remove function calls in
glibc so that a trash can is implemented. Basically all deletes become
moves to the trash folder. In the same way, you could make all deletes
shred the files.

Disclaimer: preloading is a nasty hack. Many people discourage it, and
they're all right. But, it may also solve all your problems :)

         --Ted


[1] http://pages.stern.nyu.edu/~marriaga/software/libtrash/
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss