Dokan library 0.6.0 unable delete or update on Windows 8 / 8.1

1,114 views
Skip to first unread message

Will Huang

unread,
Nov 30, 2013, 8:36:19 AM11/30/13
to do...@googlegroups.com
The Dokan library 0.6.0 unable do any delete or update operation on Windows 8 / 8.1, but I can read and create file in the mounted folder.  Will this library support Windows 8 in the near future?

Olaf Sosath

unread,
Jan 3, 2014, 5:03:42 PM1/3/14
to do...@googlegroups.com
I have got the same problem. Files seem to be deleted but actually are still there (i.e. after pressing F5). I tryed some fuse options like default_permissions and hard_remove without any result. I looked at the fuse debug messages but I do not understand them.
Has anyone solved this problem?

Jon Blum

unread,
Jan 7, 2014, 9:40:10 PM1/7/14
to do...@googlegroups.com
On Saturday, January 4, 2014 9:03:42 AM UTC+11, Olaf Sosath wrote:
I have got the same problem. Files seem to be deleted but actually are still there (i.e. after pressing F5). I tryed some fuse options like default_permissions and hard_remove without any result. I looked at the fuse debug messages but I do not understand them.
Has anyone solved this problem?


There is a workaround, but it requires changing the way you call Dokan to delete files:  basically, Windows 8 now uses Delete On Close (because that way they don't need a separate delete call, thus reducing network drive traffic).  You basically need to remember whether a file is opened with the DELETE_ON_CLOSE flag set; and then on Close if the flag was set, you call the Delete callback yourself.  There's a discussion about how to do this at https://code.google.com/p/dokan/issues/detail?id=269 .

I have more details about how we changed our own code, but I won't have time to get to them for a bit -- I'm moving house this week!

Cheers,
Jon Blum

Sergio Conde Gómez

unread,
Feb 25, 2014, 3:50:11 AM2/25/14
to do...@googlegroups.com
Hi Jon,

I work in a place where are using a solution that uses Dokan and I've hit this problem with Windows 8. After trying to solve it whit the hints you gave I've been unable to solve it.

Can you explain it a little more?

Regards,
Sergio.
Reply all
Reply to author
Forward
0 new messages