dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.21k stars 661 forks source link

Windows 11 - Saving file by notepad is not working #1240

Closed cji80 closed 2 days ago

cji80 commented 1 month ago

Environment

Check List

Description

Hi. I found a bug that file saving by Windows 11's notepad is not working on mounted drive. Notepad version is 11.2406.9.0. I checked that Windows 11's Notepad does not request write permission just before saving a file. Windows 10' s notepad requests write permission like GENERIC_WRITE before saving a file, so it works normally. Could I know is it bug?

Thank you.

Liryna commented 1 month ago

Hi @cji80 ,

Could you explain how you did the test and share the logs of the sample that failed ?

Liryna commented 1 month ago

I was able to reproduce the issue and looks like now it requires to use the mount manager option. It worked after using /o option with the mirror. https://github.com/dokan-dev/dokany/blob/7f25947970c1dc23cd3be9a0dbdb41f96e54f513/dokan/dokan.h#L97-L104

cji80 commented 4 weeks ago

@Liryna Thanks for your reply. I will test it as soon as possible.

cji80 commented 4 weeks ago

@Liryna Hi. After adding the DOKAN_OPTION_MOUNT_MANAGER option, file saving in Windows 11 Notepad proceeded normally. Thank you very much!!

koimatcha commented 1 week ago

Hi. This issue seems to be resolved by Notepad version 11.2407.8.0.

Liryna commented 2 days ago

Glad that was fixed by Microsoft 🥳 Thanks @koimatcha for letting us know