[MERGE] [BUG 363837] Catch _win32_delete_readonly failure to remove file or directory and try to recover

Robert Collins robertc at robertcollins.net
Tue May 5 06:13:40 BST 2009


On Tue, 2009-05-05 at 13:54 +0900, Stephen J. Turnbull wrote:
> 
> Is there any way to determine which program has the file open?

sysinternals has a tool similar to lsof; if its not a transient problem
you could use that. [Technically, walk the HANDLEs of all processes to
find those matching the file].

Also, NamedTemporary file is in since at least python2.4.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090505/c22c27fb/attachment.pgp 


More information about the bazaar mailing list