[GRASS-dev] Re: Overwrite GRASS raster on Windows

Radim Blazek radim.blazek at gmail.com
Tue Nov 28 11:24:10 EST 2006

The status after OPEN request in Filemon is 'SHARING'.
So it seems that CopyFile() can overwrite a file which is used
by another program. I thought that impossibility to delete
a file is Windows/NTFS, but it is probably only on application
level. Interesting.


On 11/28/06, Radim Blazek <radim.blazek at gmail.com> wrote:
> Hi.
> I found a strange (but desired) thing. I can overwrite a GRASS raster
> layer which is open in QGIS on Windows (NTFS). It should not be possible
> because it is not possible to delete/move a file which is open
> by another application on Windows. And AFAIK it was not possible some
> month ago.
> Now I can overwrite an open raster without problems on XP Professional SP2.
> I cannot delete the file from file manager but I can see that the time
> was updated
> if a GRASS module was run!!!
> Can you confirm, explain?
> Radim

More information about the grass-dev mailing list