> allowing you to delete an open file and providing no means to prevent it
I honestly think this one of the greates advantages of POSIX systems over Windows. If I as a (super)user want to delete a file I should always be able to do that and applications will just have to deal with it.
You can delete the name/directory entry, but the file remains allocated and in use as long as any program holds it open. So how useful the POSIX behavior is, is debatable.
I honestly think this one of the greates advantages of POSIX systems over Windows. If I as a (super)user want to delete a file I should always be able to do that and applications will just have to deal with it.