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

Re: deleting content of /tmp



On Sat, Mar 24, 2007 at 10:33:40PM -0500, Ron Johnson wrote:
> On 03/24/07 22:19, Roberto C. Sánchez wrote:
> >>
> > Out of curiousity, why do you say that it is a bad design?
> 
> Destroying something to save it?
> 
It seems like it makes perfect sense (in the temporary file case, not in
the destroying a village case).  If you know that the operating system
will keep the file data allocated and allow you use the file as normal
until you close it, then why not unlink it?  It prevents collisions with
naming and minimizes a vulnerability.

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: