prodizy wrote:
Is it possible that the file is opened for read/write elsewhere and
the file descriptor is not properly closed or something else?

PS: The platform I am working on is Windows XP.

On Windows, that's a distinct possibility, yes.

Note that on other OSes (e.g. Linux) you couldn't remove a file you have write access to if you don't have write access to the directory it's in. So just calling isWritable() doesn't tell you whether you can delete the file, really.

-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to