afnarqui / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

movefile problem.. #96

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try setting metainfo of any file like doc or jpeg. 

2. On saving, it will say file access denied.

What is the expected output? What do you see instead?
Error Message Box saying "File Access Denied"

What version of the product are you using? On what operating system?
Tried both on Win Vista 32 bit and Win Xp 32 bit

Please provide any additional information below.
Problem is that MoveFileEx expects both Source and Destination file handles
closed. Source file handle closed by a hack in mirrormovefile to handle
msword files issue. But not a generic solution.

I think rename and move should be handled separately in dokan lib or kernel
code. Or we can rename file on close as mentioned in a comment in the same
function as well.

Thanks

Original issue reported on code.google.com by amit.bha...@gmail.com on 9 Jul 2009 at 4:32