For Programmers: Free Programming Magazines  


Home > Archive > Clipper > August 2007 > Able to delete an open database in Windows XP, 2003









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Able to delete an open database in Windows XP, 2003
Jerveloper

2007-08-30, 9:56 pm

Why am I able to delete an open database without error?

1. One user opens a database in DBU, exclusively: DBU TEST.DBF /E

2. Another user gets to a command line and deletes the file: DEL
TEST.DBF

3. The file still appear in directory listings until the first closes
the file in DBU or exits DBU. Then it's gone.

What's going on here? MS says we shouldn't be able to delete an open
file.

dlzc

2007-08-30, 9:56 pm

Dear Jerveloper:

On Aug 30, 9:51 am, Jerveloper <jlc...@cox.net> wrote:
> Why am I able to delete an open database
> without error?
>
> 1. One user opens a database in DBU,
> exclusively: DBU TEST.DBF /E
>
> 2. Another user gets to a command line
> and deletes the file: DEL TEST.DBF
>
> 3. The file still appear in directory
> listings until the first closes the file
> in DBU or exits DBU. Then it's gone.


Actually, the file does not appear in any directory listing if you
refresh it right away.

> What's going on here? MS says we
> shouldn't be able to delete an open
> file.


It can happen with Word too. Open a Word document with Word, have
someone delete the source document (not the "~" file that is
created... that one is protected!), and Word is none the wiser. Exit
without saving, and no file exists.

David A. Smith

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com