On Fri, Jun 18, 2010 at 7:58 AM, David Connors <[email protected]> wrote:
> On 17 June 2010 22:25, mike smith <[email protected]> wrote:
> > The most cogent argument against the idea of creating and then
> > deleting has already been made:  Namely, sure, you can do it now, but
> > may not be able to in 10 seconds time.  Hypothesise that this is a
> > network share, and the network just pisadeared on you?  Some kind of
> > transactional system is the only way of this working reliably.
>
> That, and the fact that create and delete are separate permissions on NTFS;
> you can have the former without the latter.

Mmm indeed.

FWIW, I'd probably have a service that sits around and does cleanup.
Any system with creation of folders and files will probably need some
sort of cleanup operation occasionally anyway, and I'd have this
system delete the unneccessary folders (or the other way aroud, only
create them after a small delay). Well, to be honest, I'd probably
even go so far as to reconsider the need to create folders based
directly on user interaction (I'd make it more of an internal thing,
if possible, but maybe that's already the case).


> --
> David Connors ([email protected])
> Software Engineer
> Codify Pty Ltd - www.codify.com
> Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61 417
> 189 363
> V-Card: https://www.codify.com/cards/davidconnors
> Address Info: https://www.codify.com/contact

-- 
silky

  http://www.programmingbranch.com/

Reply via email to